Hoogle Search
Within LTS Haskell 22.18 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
randomizeContext :: Ctx -> IO ()secp256k1-haskell Crypto.Secp256k1 No documentation available.
randomizeContext :: Ctx -> IO ()secp256k1-haskell Crypto.Secp256k1.Internal.Context No documentation available.
randomBS :: CryptoRandomGen g => g -> Int -> (ByteString, g)RSA Codec.Crypto.RSA.Exceptions Generate a random ByteString of the given length
randomNZBS :: CryptoRandomGen g => g -> Int -> (ByteString, g)RSA Codec.Crypto.RSA.Exceptions Create a random bytestring of non-zero bytes of the given length.
randomBS :: CryptoRandomGen g => g -> Int -> Either RSAError (ByteString, g)RSA Codec.Crypto.RSA.Pure Generate a random ByteString of the given length
randomNZBS :: CryptoRandomGen g => g -> Int -> Either RSAError (ByteString, g)RSA Codec.Crypto.RSA.Pure Create a random bytestring of non-zero bytes of the given length.
-
cryptonite Crypto.Random A simple Monad class very similar to a State Monad with the state being a DRG.
class Monad m =>
MonadRandom mcryptonite 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