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.
-
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.
hashPrefix :: (ByteArrayAccess ba, HashAlgorithmPrefix a) => ba -> Int -> Digest acrypton Crypto.Hash Hash the first N bytes of a bytestring, with code path independent from N.
hashPrefixWith :: (ByteArrayAccess ba, HashAlgorithmPrefix alg) => alg -> ba -> Int -> Digest algcrypton Crypto.Hash Run the hashPrefix function but takes an explicit hash algorithm parameter
class HashAlgorithm a =>
HashAlgorithmPrefix acrypton Crypto.Hash.Algorithms Hashing algorithms with a constant-time implementation.
generatePrefix :: MonadRandom m => Int -> m Integercrypton 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
mixLinkPreModuleShape :: [PreModuleShape] -> PreModuleShapeCabal Distribution.Backpack.PreModuleShape No documentation available.
parentSrcLocPrefix :: WithCallStack StringCabal 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.
posixSecondsToModTime :: Int64 -> ModTimeCabal Distribution.Compat.Time Convert POSIX seconds to ModTime.
-
Cabal Distribution.PackageDescription.Check No documentation available.
-
Cabal Distribution.PackageDescription.Check No documentation available.