cryptography - OpenSSL Authenticated Encryption -
i'm trying use openssl authenticated encryption. specifically, i'm trying use aes-256-gcm (or ccm).
however, when run openssl list-cipher-commands, don't see it. aes ciphers shown these:
aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb aes-256-cbc aes-256-ecb i'm on openssl 1.0.1e, should supported.
openssl supports aes-256-gcm algorithm, not support aes-256-gcm command tool. difference can enter openssl aes-256-cbc in command line encrypt something. on other hand, there no such openssl aes-256-gcm command line tool.
you can use evp interface call aes-256-gcm algorithm, answer shows.
by way, may try use openssl enc aes-256-gcm in command line. not work either. because no additional authenticated data handled enc command. see more information here.
Comments
Post a Comment