method

new

v2_1_10 - 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.