Ruby OpenSSL Cipher -
when instantiate cipher aes gcm so, works:
openssl::cipher.new('aes-256-gcm')
however, unsupported cipher error when following (the way mentioned in docs):
openssl::cipher::aes.new(256, :gcm)
is there difference between 2 (i.e. former equivalent latter)?
>> openssl::openssl_version => "openssl 1.0.1e 11 feb 2013"
Comments
Post a Comment