
3 May
2012
3 May
'12
8:26 p.m.
Thomas DuBuisson
I've grown annoyed at System.Random enough (specifically, StdGen). How much, if any, pushback would there be if I put together a FFI binding to a C AES-CTR based RNG. There are many advantages:
[...]
I'd be tempted to pull in the 'entropy' package for seeding, but will make that a separate proposal.
Why reinvent the wheel? http://hackage.haskell.org/package/cprng-aes Has both a System.Random and a Crypto-API interface. As such it is already connected to the 'entropy' package. Greets, Ertugrul -- nightmare = unsafePerformIO (getWrongWife >>= sex) http://ertes.de/