HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Modulecrypton-2.1.7Haskell2010

Crypto.MAC.KeyedBlake2

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

  • 2 types
  • 1 class
  • 6 values
  • Packagecrypton-2.1.7
  • Exports9
  • LanguageHaskell2010
  • LicenceBSD-3-Clause AND MIT AND ISC
  • 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