Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

    RSA Codec.Crypto.RSA.Pure

    Generate a random ByteString of the given length

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

  3. randomizeContext :: Ctx -> IO ()

    secp256k1-haskell Crypto.Secp256k1

    No documentation available.

  4. randomizeContext :: Ctx -> IO ()

    secp256k1-haskell Crypto.Secp256k1.Internal.Context

    No documentation available.

  5. randomByteString :: Int -> IO ByteString

    saltine Crypto.Saltine.Core.Utils

    Build a sized random ByteString using Sodium's bindings to devurandom.

  6. randomByteString :: Int -> IO ByteString

    saltine Crypto.Saltine.Internal.Util

    Build a sized random ByteString using Sodium's bindings to devurandom.

  7. data MonadPseudoRandom gen a

    crypton Crypto.Random

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

  8. class Monad m => MonadRandom (m :: Type -> Type)

    crypton Crypto.Random

    A monad constraint that allows to generate random bytes

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

    crypton Crypto.Random

    No documentation available.

  10. withRandomBytes :: (ByteArray ba, DRG g) => g -> Int -> (ba -> a) -> (a, g)

    crypton 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