Safe Haskell | None |
---|---|
Language | Haskell2010 |
Defines a newtype wrapper for crypto-api's CryptoRandomGen
, and a corresponding RandomGen
instance.
CryptoRandomGen
generators can only be used to get ByteString
s; the RandomGen
instance allows them
to be used to generate any Random
type. Typical usage is with Control.Monad.Random's RandT
monad.
Documentation
data CryptoRand g Source
CryptoRandomGen g => RandomGen (CryptoRand g) Source | |
CryptoRandomGen g => CryptoRandomGen (CryptoRand g) Source |