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

Version on this page:0.5.5
Stackage Nightly 2017-08-20:0.5.5
LTS Haskell 9.1:0.5.5
Stackage Nightly 2017-08-20:0.5.5
Latest on Hackage:0.5.5
BSD3 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