On 16 August 2013 16:46, Swair Mehta <swairme...@gmail.com> wrote:
> On 16-Aug-2013, at 7:49 AM, Unga <unga...@yahoo.com> wrote:
>
>> Hi all
>>
>> I have a requirement to encrypt files, in such a way identical files should 
>> generate identical ciphertexts.
>>
>> I plan to use aes-256-cbc cipher with 128-byte long non-guessable password 
>> per input file. Identical input files will be provided with identical 
>> passwords.
>>
>> 1. Is it no salt the way forward for me?
>>
>>
> 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.

Matt
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to