LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2011, 07:00 AM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Rep: Reputation: 16
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?
 
Old 03-24-2011, 08:31 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,876
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
Old 03-24-2011, 11:35 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in <PROGRAMMING> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-24-2011, 11:43 AM   #4
xeon123
Member
 
Registered: Sep 2006
Posts: 374

Original Poster
Rep: Reputation: 16
Inserting timestamps is a good idea, but I'm looking for official benchmark cipher algorithms tests.
 
Old 03-24-2011, 11:51 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,876
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Affine Cipher Gato Azul Programming 3 02-01-2013 01:47 PM
Performance Script to track runtime and I/O information BradRalston Linux - Newbie 7 05-12-2008 09:00 PM
gpg -c: which cipher-algo? mistersnorfles Linux - Security 3 08-08-2007 01:00 PM
Cipher all data xanax Linux - Security 9 12-10-2006 02:35 AM
Running Key Cipher Herrkutt Programming 6 11-21-2006 05:33 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration