Class: Net::SSH::Transport::AES128_GCM
- Inherits:
-
Object
- Object
- Net::SSH::Transport::AES128_GCM
- 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
-
.key_length ⇒ Object
— RFC 5647 — K_LEN AES key length 16 octets.
Instance Method Summary collapse
Methods included from GCMCipher
Class Method Details
.key_length ⇒ Object
— 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_name ⇒ Object
24 25 26 |
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 24 def algo_name 'aes-128-gcm' end |
#implicit_mac ⇒ Object
20 21 22 |
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 20 def implicit_mac ImplicitHMac.new end |
#name ⇒ Object
28 29 30 |
# File 'lib/net/ssh/transport/aes128_gcm.rb', line 28 def name '[email protected]' end |