Class: Noise::Functions::Hash::Blake2bHMAC

Inherits:
HMAC::Base
  • Object
show all
Defined in:
lib/noise/functions/hash/blake2b.rb

Instance Method Summary collapse

Constructor Details

#initialize(key = nil) ⇒ Blake2bHMAC

Returns a new instance of Blake2bHMAC.



45
46
47
# File 'lib/noise/functions/hash/blake2b.rb', line 45

def initialize(key = nil)
  super(Blake2bDigester, Blake2b::BLOCKLEN, Blake2b::HASHLEN, key)
end