Hi all I have created an application that performs time analysis of
file encryption. I have some questions but before here are the results

Input  :      5312 KB  mp3 file
Password :Hello World   ( This is hashed with SHA 256) to make it the
algorithm key
Encryption Mode : CBC (Cipher Block Chaining)

The result is as below

AES                     210 ms

DES                     632 ms

TRIPLE DES      1166 ms

BLOWFISH        407 ms

SERPENT         897 ms

The code where the time was measured is as below


               //start timer
               QueryPerformanceCounter(&t1);

                FileSource( inputFileStream, true, new
StreamTransformationFilter( encryptorObject, new
FileSink(outFileStream)));

                // stop timer
                QueryPerformanceCounter(&t2);
                timetaken = (t2.QuadPart - t1.QuadPart) * 1000.0 /
frequency.QuadPart;


Now the question I wish to ask are

1. Why is AES the fastest in comparison to all the three?
2. Shouldnt DES have taken thrice the time than DES, where as it
takeas around twice the time
3 Also Blowfish is fast cipher , but still takes more time than AES?

Also if you can highlight anything regarding their comparison it would
be very helpful. Thanks in advance
If you can suggest a site/link/books where i can refer to their time
anlaysis it would be gretaly helpful

Other Information
OS: WIN XP
COMPILER/IDE Mingw /qt 4.7
cryptopp version 5.5.2

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to