Class: Net::SSH::Transport::HMAC::None

Inherits:
Abstract
  • Object
show all
Defined in:
lib/net/ssh/transport/hmac/none.rb

Overview

The “none” algorithm. This has a key and mac length of 0.

Instance Attribute Summary

Attributes inherited from Abstract

#key

Instance Method Summary collapse

Methods inherited from Abstract

aead, #aead, #digest_class, digest_class, etm, #etm, #initialize, #key_length, key_length, mac_length, #mac_length

Constructor Details

This class inherits a constructor from Net::SSH::Transport::HMAC::Abstract

Instance Method Details

#digest(data) ⇒ Object



9
10
11
# File 'lib/net/ssh/transport/hmac/none.rb', line 9

def digest(data)
  ""
end