[Haskell-cafe] Re: True Random Numbers
es at ertes.de
Sat Apr 3 09:21:49 EDT 2010
Matthew Hayden <mrehayden at googlemail.com> wrote:
> What's wrong with the System.Random.StdGen implementation of
> RandomGen? (I'm not sure if it's cryptographically safe)
It's a poor PRNG. And no, it's not anywhere near suitable for
> Someone (Cale IIRC) has already implemented a Rand monad which is
> like a state monad but it keeps a RandomGen instead.
by "Cale Gibbard and others"
nightmare = unsafePerformIO (getWrongWife >>= sex)
More information about the Haskell-Cafe