Hello,
I am trying to encrypt and decrypt a string using command-line openssl (1.0.1c) 
with the id-aes256-GCM algorithm, but every time it fails

echo -n "bla" | openssl enc -e -id-aes256-GCM -nosalt -a -out t.out
openssl enc -d -id-aes256-GCM -nosalt -a -in t.out

bad decrypt

This is true whether I use manually specified key/IV or password, with or 
without salt. The same commands work with other algorithms. What am I missing?

Thanks
Mark

Reply via email to