Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. hashFinalizePrefix :: (HashAlgorithmPrefix a, ByteArrayAccess ba) => Context a -> ba -> Int -> Digest a

    crypton Crypto.Hash

    Update the context with the first N bytes of a bytestring and return the digest. The code path is independent from N but much slower than a normal hashUpdate. The function can be called for the last bytes of a message, in order to exclude a variable padding, without leaking the padding length. The begining of the message, never impacted by the padding, should preferably go through hashUpdate for better performance.

  2. hashPrefix :: (ByteArrayAccess ba, HashAlgorithmPrefix a) => ba -> Int -> Digest a

    crypton Crypto.Hash

    Hash the first N bytes of a bytestring, with code path independent from N.

  3. hashPrefixWith :: (ByteArrayAccess ba, HashAlgorithmPrefix alg) => alg -> ba -> Int -> Digest alg

    crypton Crypto.Hash

    Run the hashPrefix function but takes an explicit hash algorithm parameter

  4. class HashAlgorithm a => HashAlgorithmPrefix a

    crypton Crypto.Hash.Algorithms

    Hashing algorithms with a constant-time implementation.

  5. generatePrefix :: MonadRandom m => Int -> m Integer

    crypton Crypto.Number.Generate

    Generate a number for a specific size of bits.

    • generateParams n Nothing False generates bytes and uses the suffix of n bits
    • generatePrefix n generates bytes and uses the prefix of n bits

  6. mixLinkPreModuleShape :: [PreModuleShape] -> PreModuleShape

    Cabal Distribution.Backpack.PreModuleShape

    No documentation available.

  7. parentSrcLocPrefix :: WithCallStack String

    Cabal Distribution.Compat.Stack

    Give the *parent* of the person who invoked this; so it's most suitable for being called from a utility function. You probably want to call this using withFrozenCallStack; otherwise it's not very useful. We didn't implement this for base-4.8.1 because we cannot rely on freezing to have taken place.

  8. posixSecondsToModTime :: Int64 -> ModTime

    Cabal Distribution.Compat.Time

    Convert POSIX seconds to ModTime.

  9. CVMixins :: CheckExplanation

    Cabal Distribution.PackageDescription.Check

    No documentation available.

  10. ZPrefix :: CheckExplanation

    Cabal Distribution.PackageDescription.Check

    No documentation available.

Page 59 of many | Previous | Next