Class: Noise::Functions::Hash::Blake2bHMAC
- Inherits:
-
HMAC::Base
- Object
- HMAC::Base
- Noise::Functions::Hash::Blake2bHMAC
- Defined in:
- lib/noise/functions/hash/blake2b.rb
Instance Method Summary collapse
-
#initialize(key = nil) ⇒ Blake2bHMAC
constructor
A new instance of Blake2bHMAC.
Constructor Details
#initialize(key = nil) ⇒ Blake2bHMAC
Returns a new instance of Blake2bHMAC.
23 24 25 |
# File 'lib/noise/functions/hash/blake2b.rb', line 23 def initialize(key = nil) super(RbNaCl::Hash::Blake2b, 128, 64, key) end |