Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
crypton Crypto.Random.Types A simple Monad class very similar to a State Monad with the state being a DRG.
class Monad m =>
MonadRandom (m :: Type -> Type)crypton Crypto.Random.Types A monad constraint that allows to generate random bytes
getRandomBytes :: (MonadRandom m, ByteArray byteArray) => Int -> m byteArraycrypton Crypto.Random.Types No documentation available.
-
cryptonite Crypto.Random A simple Monad class very similar to a State Monad with the state being a DRG.
class Monad m =>
MonadRandom (m :: Type -> Type)cryptonite Crypto.Random A monad constraint that allows to generate random bytes
getRandomBytes :: (MonadRandom m, ByteArray byteArray) => Int -> m byteArraycryptonite Crypto.Random No documentation available.
withRandomBytes :: (ByteArray ba, DRG g) => g -> Int -> (ba -> a) -> (a, g)cryptonite Crypto.Random Generate len random bytes and mapped the bytes to the function f. This is equivalent to use Control.Arrow first with randomBytesGenerate
-
cryptonite Crypto.Random.Types A simple Monad class very similar to a State Monad with the state being a DRG.
class Monad m =>
MonadRandom (m :: Type -> Type)cryptonite Crypto.Random.Types A monad constraint that allows to generate random bytes
getRandomBytes :: (MonadRandom m, ByteArray byteArray) => Int -> m byteArraycryptonite Crypto.Random.Types No documentation available.