information about performance on cipher algorithms?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
information about performance on cipher algorithms?
Hi,
I would like to know how does it take a cipher algorithm to compute a message. So, I'm looking for information that shows benchmark results on cipher algorithms. Does anyone can point me a link?
Insert time stamps into your code and make logs before, during, and after the cipher computations.
Also, find a number of viable test cases. Repeating data, random data, short data, long data, patterned data, to determine if the algorithm works better or worse depending on what gets fed into it.
If you have the code for the algorithm, you can predict the number of instructions that get executed, determine the exact number of clock cycles required for them all, and more precisely determine the exact CPU time required.
I'm sure there are some benchmark programs out there for certain things; however I'll bet that you'll have difficulty finding exactly what you're looking for, hence why I suggested building your own benchmark test.
If you can find the author of the cipher algorithms you do have, contact them and see if they made any performance test utilities along with their program. For that matter, they may have included that in their source already. Search their code for any references to tests or test modes.
If you're evaluating several binary packages, then I would design my own tests so that I could uniformly and fairly evaluate the performance of each of the algorithms so that I could get all the information I'd require. Plus if I had written the tests, then they would be portable from system to system and I could compare Windows to Linux or different CPU and memory combinations on various machine types.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.