method

new

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

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

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