Class: Noise::Functions::Hash::Blake3HMAC
- Inherits:
-
HMAC::Base
- Object
- HMAC::Base
- Noise::Functions::Hash::Blake3HMAC
- Defined in:
- lib/noise/functions/hash/blake3.rb
Instance Method Summary collapse
-
#initialize(key = nil) ⇒ Blake3HMAC
constructor
A new instance of Blake3HMAC.
Constructor Details
#initialize(key = nil) ⇒ Blake3HMAC
Returns a new instance of Blake3HMAC.
28 29 30 |
# File 'lib/noise/functions/hash/blake3.rb', line 28 def initialize(key = nil) super(::Blake3::Hasher, Blake3::BLOCKLEN, Blake3::HASHLEN, key) end |