HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulecrypton-2.1.7Haskell2010

Crypto.MAC.KeyedBlake2

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

Contents
  1. Incremental
Synopsis
  • 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