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.

  1. randomizeContext :: Ctx -> IO ()

    secp256k1-haskell Crypto.Secp256k1

    No documentation available.

  2. randomizeContext :: Ctx -> IO ()

    secp256k1-haskell Crypto.Secp256k1.Internal.Context

    No documentation available.

  3. randomBS :: CryptoRandomGen g => g -> Int -> (ByteString, g)

    RSA Codec.Crypto.RSA.Exceptions

    Generate a random ByteString of the given length

  4. randomNZBS :: CryptoRandomGen g => g -> Int -> (ByteString, g)

    RSA Codec.Crypto.RSA.Exceptions

    Create a random bytestring of non-zero bytes of the given length.

  5. randomBS :: CryptoRandomGen g => g -> Int -> Either RSAError (ByteString, g)

    RSA Codec.Crypto.RSA.Pure

    Generate a random ByteString of the given length

  6. 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.

  7. data MonadPseudoRandom gen a

    cryptonite Crypto.Random

    A simple Monad class very similar to a State Monad with the state being a DRG.

  8. class Monad m => MonadRandom m

    cryptonite Crypto.Random

    A monad constraint that allows to generate random bytes

  9. getRandomBytes :: (MonadRandom m, ByteArray byteArray) => Int -> m byteArray

    cryptonite Crypto.Random

    No documentation available.

  10. 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

Page 2 of many | Previous | Next