OpenSSL::Cipher
class OpenSSL::Cipher
Provides symmetric algorithms for encryption and decryption. The algorithms that are available depend on the particular version of OpenSSL that is installed.
Listing all supported algorithms
A list of supported algorithms can be obtained by
puts OpenSSL::Cipher.ciphers
Instantiating a Cipher
There are several ways to create a Cipher instance. Generally, a