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.

  1. class CryptoRandomGen g

    crypto-api Crypto.Classes.Exceptions

    A class of random bit generators that allows for the possibility of failure, reseeding, providing entropy at the same time as requesting bytes Minimum complete definition: newGen, genSeedLength, genBytes, reseed, reseedInfo, reseedPeriod.

  2. class CryptoRandomGen g

    crypto-api Crypto.Random

    A class of random bit generators that allows for the possibility of failure, reseeding, providing entropy at the same time as requesting bytes Minimum complete definition: newGen, genSeedLength, genBytes, reseed, reseedInfo, reseedPeriod.

  3. data SystemRandom

    crypto-api Crypto.Random

    Not that it is technically correct as an instance of CryptoRandomGen, but simply because it's a reasonable engineering choice here is a CryptoRandomGen which streams the system randoms. Take note:

    • It uses the default definition of genByteWithEntropy
    • newGen will always fail!
    • reseed will always fail!
    • the handle to the system random is never closed

  4. largeRandomPrime :: CryptoRandomGen g => g -> Int -> (Integer, g)

    RSA Codec.Crypto.RSA.Exceptions

    Generate a large random prime of a given length in bytes.

  5. largeRandomPrime :: CryptoRandomGen g => g -> Int -> Either RSAError (Integer, g)

    RSA Codec.Crypto.RSA.Pure

    Generate a large random prime of a given length in bytes.

  6. contextRandomize :: Ptr LCtx -> Ptr Seed32 -> IO Ret

    secp256k1-haskell Crypto.Secp256k1.Internal.Context

    No documentation available.

  7. withRandomSeed :: (Ptr Seed32 -> IO a) -> IO a

    secp256k1-haskell Crypto.Secp256k1.Internal.Util

    No documentation available.

  8. InitSecretNotRandom :: ErrorPosition -> InspectionError

    cacophony Crypto.Noise.Internal.Handshake.Validation

    No documentation available.

  9. RespSecretNotRandom :: ErrorPosition -> InspectionError

    cacophony Crypto.Noise.Internal.Handshake.Validation

    No documentation available.

  10. InitSecretNotRandom :: ErrorPosition -> InspectionError

    cacophony Crypto.Noise.Validation

    No documentation available.

Page 4 of many | Previous | Next