# File lib/net/ssh/transport/cipher_factory.rb, line 66
    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)
      key_len = KEY_LEN_OVERRIDE[name] || cipher.key_len
      cipher.key_len = key_len
      
      return [key_len, ossl_name=="rc4" ? 8 : cipher.block_size]
    end