Deterministic random bit generator (aka RNG, PRNG) based HMACs, Hashes, and Ciphers.

LTS Haskell 12.26:0.5.5
Stackage Nightly 2018-09-28:0.5.5
Latest on Hackage:0.5.5

See all snapshots DRBG appears in

BSD-3-Clause licensed by Thomas DuBuisson
Maintained by Thomas DuBuisson

Cryptographically secure RNGs


* Depend on cryptocipher to provide an AES based DRBG
* We now have a GenCounter instance that uses ctr from crypto-api
* Documentation fixes

* Updated to work with tagged == 0.2.
* Exported newGenAutoReseed{,IO} for those really really long running CRG's.

* Verify the seed length is sufficient when instantiating or reseeding HmacDRBG and HashDRBG
* Move GenSystemRandom out of DRBG (into crypto-api >= 0.3)

New in 0.1.1

* Add HashDRBGWith and HmacDRBGWith
* Allow reseeding of AutoReseed when the second generator to be SystemRandomGen (zero byte reseed of 2nd generator)
* Allow reseeding GenBuffered after an error by tracking the error-inducing generator (and not just the error)
* Fix GenBuffered to buffer properly
comments powered byDisqus