Class: Net::SSH::Transport::ChaCha20Poly1305Cipher::ImplicitHMac

Inherits:
Object
  • Object
show all
Defined in:
lib/net/ssh/transport/chacha20_poly1305_cipher.rb

Overview

Implicit HMAC, no need to do anything

Instance Method Summary collapse

Instance Method Details

#etmObject



13
14
15
16
# File 'lib/net/ssh/transport/chacha20_poly1305_cipher.rb', line 13

def etm
  # TODO: ideally this shouln't be called
  true
end

#key_lengthObject



18
19
20
# File 'lib/net/ssh/transport/chacha20_poly1305_cipher.rb', line 18

def key_length
  64
end