Safe Haskell | None |
---|---|
Language | Haskell2010 |
Crypto.RNG.Class
Documentation
class Monad m => CryptoRNG m where Source #
Monads carrying around the RNG state.
Minimal complete definition
Methods
randomBytes :: ByteLength -> m ByteString Source #
Generate given number of cryptographically secure random bytes.