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

The SHA1 HMAC algorithm. This has a mac and key length of 20, and uses the SHA1 digest algorithm.

Methods

new  

Public Class methods

Create a new instance of the SHA1 HMAC algorithm.

[Source]

    # File lib/net/ssh/transport/ossl/hmac/sha1.rb, line 32
32:             def initialize
33:               @mac_length = 20
34:               @digest_class = OpenSSL::Digest::SHA1
35:               @key_length = 20
36:             end

[Validate]