method

new

ruby latest stable - Class: OpenSSL::Cipher
new(p1)
public

The string must be a valid cipher name like “AES-128-CBC” or “3DES”.

A list of cipher names is available by calling OpenSSL::Cipher.ciphers.