HMAC Deterministic Random Bytes Generator.
Instances2Eq, DRG
Eq (HmacDrbg a)Defined in web3-crypto-1.1.0.0 · Crypto.Random.HmacDrbgHashAlgorithm a => DRG (HmacDrbg a)Defined in web3-crypto-1.1.0.0 · Crypto.Random.HmacDrbg
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12
Moduleweb3-crypto-1.1.0.0Haskell2010
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.HMAC Deterministic Random Bytes Generator.
Eq (HmacDrbg a)Defined in web3-crypto-1.1.0.0 · Crypto.Random.HmacDrbgHashAlgorithm a => DRG (HmacDrbg a)Defined in web3-crypto-1.1.0.0 · Crypto.Random.HmacDrbgInitialize HMAC-DRBG by seed.