openssl ECB output
thanks....i do see the same now,
C de-Avillez wrote:
> On Thu, 23 Sep 2010 19:07:39 -0400
> Ali Khalfan <ali.khalfan@gmail.com> wrote:
>
>> don't know if anyone has ever tried this before. But I'm trying to
>> demonstrate the weakness of electronic code book block encryption by
>> using using openssl. There is an option in openssl in openssl to
>> select dec-ecb. So I gave it a shot.
>>
>> So I fed the following into the terminal
>>
>> openssl des-ecb -kfile deskty -in test.txt -out someEncryptedFile
>>
>>
>> However, everytime, I get a different output.
>>
>> Is there any parameter i need to set in openssl to get the same
>> outpu?
>
> You probably want to pass '-nosalt' on the openssl call [1]: the
> default is to salt the keys. Since it is a demonstration, no problem...
>
> Cheers,
>
> [1] 'man enc' for details
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|