class Net::SSH::Transport::CipherFactory
def self.supported?(name)
Returns true if the underlying OpenSSL library supports the given cipher,
def self.supported?(name) return true if SSH_TO_CLASS.key?(name) ossl_name = SSH_TO_OSSL[name] or raise NotImplementedError, "unimplemented cipher `#{name}'" return true if ossl_name == "none" return SSH_TO_CLASS.key?(name) || OpenSSL::Cipher.ciphers.include?(ossl_name) end