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

Modulecryptohash-0.11.9Haskell98

Crypto.MAC

Crypto hash generic MAC (Message Authentification Code) module

  • 2 types
  • 6 values

MAC algorithms

3 declarations
newtypenewtype HMAC a
#

Represent an HMAC that is a phantom type with the hash used to produce the mac.

The Eq instance is constant time.

Constructors

Instances2Eq, Byteable
  • Eq (HMAC a)Defined in cryptohash-0.11.9 · Crypto.Hash
  • Byteable (HMAC a)Defined in cryptohash-0.11.9 · Crypto.Hash

Incremental MAC algorithms