Class Net::SSH::Transport::OSSL::HMAC::None
In: lib/net/ssh/transport/ossl/hmac/none.rb
Parent: Abstract

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

Methods

digest   new  

Public Class methods

Create a new instance of the None HMAC algorithm.

[Source]

    # File lib/net/ssh/transport/ossl/hmac/none.rb, line 30
30:             def initialize
31:               @key_length = @mac_length = 0
32:             end

Public Instance methods

Always returns the empty string.

[Source]

    # File lib/net/ssh/transport/ossl/hmac/none.rb, line 35
35:             def digest( data )
36:               ""
37:             end

[Validate]