HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecrypton-1.0.4Haskell2010

Crypto.MAC.KeyedBlake2

Expose a MAC interface to the keyed Blake2 algorithms defined in RFC 7693.

  • 2 types
  • 1 class
  • 6 values
  • Packagecrypton-1.0.4
  • Exports9
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceKeyedBlake2.hs
classclass HashAlgorithm a => HashBlake2 a where
#

Typeclass for the Blake2 family of digest functions.

Instances4HashBlake2
newtypenewtype KeyedBlake2 a
#

Represent a Blake2b MAC 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.

Instances3Eq, NFData, ByteArrayAccess

Incremental

5 declarations