Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
progSuffix :: LocalBuildInfo -> PathTemplateCabal Distribution.Types.LocalBuildInfo No documentation available.
KeySizeFixed :: Int -> KeySizeSpecifiercrypton Crypto.Cipher.Types a specific size
-
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
-
ghc GHC 'infix' or 'infixl' or 'infixr'
-
ghc GHC No documentation available.
-
ghc GHC No documentation available.