openssl ECB output

Ali Khalfan ali.khalfan at gmail.com
Thu Sep 23 23:07:39 UTC 2010


 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?







More information about the ubuntu-users mailing list