Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Monad m => CryptoRNG m where Source #
Monads carrying around the RNG state.
:: ByteLength | number of bytes to generate |
-> m ByteString |
Generate given number of cryptographically secure random bytes.