Noise. Crypto. Hash behaviour
(Noise Protocol v0.3.0)
View Source
Behaviour for hash functions (spec §4.3).
Implementations provide hashlen/0, hash/1 and hmac_hash/2;
hkdf/3 (spec §4.3) is derived from hmac_hash/2 by use Noise.Crypto.Hash.
Summary
Types
Callbacks
@callback hashlen() :: 32 | 64