# File lib/net/ssh/transport/cipher_factory.rb, line 44 def self.get_lengths(name) ossl_name = SSH_TO_OSSL[name] return [0, 0] if ossl_name.nil? || ossl_name == "none" cipher = OpenSSL::Cipher::Cipher.new(ossl_name) return [cipher.key_len, cipher.block_size] end