Class: Net::SSH::Transport::AES128_GCM

Inherits:
Object
  • Object
show all
Extended by:
GCMCipher
Defined in:
lib/net/ssh/transport/aes128_gcm.rb

Overview

Implements the aes128-gcm@openssh cipher

Defined Under Namespace

Classes: ImplicitHMac

Class Method Summary collapse

Instance Method Summary collapse

Methods included from GCMCipher

extended

Class Method Details

.key_lengthObject

— RFC 5647 — K_LEN AES key length 16 octets



36
37
38
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 36

def self.key_length
  16
end

Instance Method Details

#algo_nameObject



24
25
26
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 24

def algo_name
  'aes-128-gcm'
end

#implicit_macObject



20
21
22
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 20

def implicit_mac
  ImplicitHMac.new
end

#nameObject



28
29
30
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 28

def name
  '[email protected]'
end