# File lib/net/ssh/transport/ossl/cipher-factory.rb, line 44
          def get( name,
                   iv=nil, key=nil,
                   shared=nil, hash=nil,
                   digester=nil,
                   encrypt=false )
          # begin
            ossl_name = @cipher_map.fetch( name ) do
              raise CipherNotFound, name
            end

            return @identity_cipher if ossl_name == "none"

            cipher = OpenSSL::Cipher::Cipher.new( ossl_name )
            cipher.send( encrypt ? :encrypt : :decrypt )

            cipher.padding = 0
            cipher.iv = make_key( cipher.iv_len, iv, shared, hash, digester )
            cipher.key = make_key( cipher.key_len, key, shared, hash, digester )

            return cipher
          end