>>> I have a requirement to encrypt files, in such a way identical files should
>>> generate identical ciphertexts.
>> Identical salts(ivs) should work. No salt works as well.
> This would have the effect that two files which were identical at the
> beginning for the first x number of blocks
> (but different afterwards) would encrypt to the same first x number of blocks.
Derive the IV from a digest of the file. Or encrypt the digest as the first
"block"
/r$
--
Principal Security Engineer
Akamai Technology
Cambridge, MA
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]