Hi, Fastest and efficient encryption algorithm.
1 posts in topic
Flat View  Flat View

Posted By:   basanth_mysore
Posted On:   Thursday, August 1, 2002 11:41 PM

I have written a java program using DES Algorithm, It takes about 40sec to encrpty 10kb file. Is there any Algorithm which can Encrypt large file faster. Can I get a Sample Code.

Re: Hi, Fastest and efficient encryption algorithm.

Posted By:   Zac_Jacobson  
Posted On:   Friday, August 2, 2002 09:57 AM

DES is very expensive. A more reasonable idea would be to encrypt your file with RC4, or another stream cipher, and use DESede to encrypt the key for that stream cipher.

You shouldn't use the same opening RC4 key for more than one file because this makes the data open to a fairly simple attack. You have to reset the key to its original state to decrypt the file.

You probably can find sample code, but not from me!


About | Sitemap | Contact