HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

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