Class: Net::SSH::Transport::AES256_GCM

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

Overview

Implements the aes256-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 32 octets



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

def self.key_length
  32
end

Instance Method Details

#algo_nameObject



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

def algo_name
  'aes-256-gcm'
end

#implicit_macObject



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

def implicit_mac
  ImplicitHMac.new
end

#nameObject



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

def name
  '[email protected]'
end