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

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduleweb3-crypto-1.1.0.0Haskell2010

Crypto.Random.HmacDrbg

NIST standardized number-theoretically secure random number generator. https://csrc.nist.gov/csrc/media/events/random-number-generation-workshop-2004/documents/hashblockcipherdrbg.pdf

XXX: This algorithm requires reseed after 2^48 iterations.

Inspired by https://github.com/TomMD/DRBG and https://github.com/indutny/hmac-drbg.
  • 1 type
  • 1 value
newtypenewtype HmacDrbg a
#

HMAC Deterministic Random Bytes Generator.

Instances2Eq, DRG