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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -