Type class of SHAKE algorithms.
Modulecrypton-1.0.4Haskell2010
Crypto.MAC.KMAC
Provide the KMAC (Keccak Message Authentication Code) algorithm, derived from the SHA-3 base algorithm Keccak and defined in NIST SP800-185.
- 2 types
- 1 class
- 5 values
- Packagecrypton-1.0.4
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceKMAC.hs
Compute a KMAC using the supplied customization string and key.
Represent a KMAC that is a phantom type with the hash used to produce the mac.
The Eq instance is constant time. No Show instance is provided, to avoid printing by mistake.
Constructors
KMACkmacGetDigest :: Digest a
Incremental
5 declarationsInitialize a new incremental KMAC context with the supplied customization string and key.
Incrementally update a KMAC context.
Incrementally update a KMAC context with multiple inputs.
Finalize a KMAC context and return the KMAC.