Class | Net::SSH::Transport::OSSL::CipherFactory |
In: |
lib/net/ssh/transport/ossl/cipher-factory.rb
|
Parent: | Object |
Implements a factory of OpenSSL cipher algorithms.
identity_cipher | [W] | The accessor for setting the identity cipher implementation to use. |
Create a new CipherFactory instance that uses the given Hash-like to convert SSH2 cipher algorithm names to OpenSSL cipher algorithm names.
Retrieves a new instance of the named algorithm. The new instance will be initialized using an iv and key generated from the given iv, key, shared, hash and digester values. Additionally, the cipher will be put into encryption or decryption mode, based on the value of the encrypt parameter.