Sha256: aff609dabeb63461b1252f6aea9a5d495258758c2e5a565ef7dd6a32721e88f4
Contents?: true
Size: 717 Bytes
Versions: 2
Compression:
Stored size: 717 Bytes
Contents
require 'net/ssh/transport/hmac/abstract' require 'net/ssh/transport/gcm_cipher' module Net::SSH::Transport ## Implements the aes128-gcm@openssh cipher class AES128_GCM extend ::Net::SSH::Transport::GCMCipher ## Implicit HMAC, do need to do anything class ImplicitHMac < ::Net::SSH::Transport::HMAC::Abstract def aead true end def key_length 16 end end def implicit_mac ImplicitHMac.new end def algo_name 'aes-128-gcm' end def name 'aes128-gcm@openssh.com' end # # --- RFC 5647 --- # K_LEN AES key length 16 octets # def self.key_length 16 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
net-ssh-7.3.0 | lib/net/ssh/transport/aes128_gcm.rb |
net-ssh-7.3.0.rc1 | lib/net/ssh/transport/aes128_gcm.rb |