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!