Class | Net::SSH::Transport::OSSL::HMAC::MD5 |
In: |
lib/net/ssh/transport/ossl/hmac/md5.rb
|
Parent: | Abstract |
Create a new instance of the MD5 algorithm. This has a mac length of 16 and a key length of 16, and uses the MD5 digest to create the HMAC digest.
# File lib/net/ssh/transport/ossl/hmac/md5.rb, line 33 33: def initialize 34: @mac_length = 16 35: @digest_class = OpenSSL::Digest::MD5 36: @key_length = 16 37: end