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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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