Class: Noise::Functions::Hash::Blake2sHMAC

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

Instance Method Summary collapse

Constructor Details

#initialize(key = '') ⇒ Blake2sHMAC

Returns a new instance of Blake2sHMAC.



23
24
25
# File 'lib/noise/functions/hash/blake2s.rb', line 23

def initialize(key = '')
  super(Blake2sDigester, Blake2s::BLOCKLEN, Blake2s::HASHLEN, key)
end