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.
stripPrefix :: ShortText -> ShortText -> Maybe ShortTexttext-short Data.Text.Short Strip prefix from second ShortText argument. Returns Nothing if first argument is not a prefix of the second argument.
>>> stripPrefix "text-" "text-short" Just "short"
>>> stripPrefix "test-" "text-short" Nothing
stripSuffix :: ShortText -> ShortText -> Maybe ShortTexttext-short Data.Text.Short Strip suffix from second ShortText argument. Returns Nothing if first argument is not a suffix of the second argument.
>>> stripSuffix "-short" "text-short" Just "text"
>>> stripSuffix "-utf8" "text-short" Nothing
KeySizeFixed :: Int -> KeySizeSpecifiercryptonite Crypto.Cipher.Types a specific size
-
cryptonite 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 acryptonite 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 algcryptonite Crypto.Hash Run the hashPrefix function but takes an explicit hash algorithm parameter
class HashAlgorithm a =>
HashAlgorithmPrefix acryptonite Crypto.Hash.Algorithms Hashing algorithms with a constant-time implementation.
-
streaming-commons Data.Streaming.Network The data passed to a Unix domain sockets Application.
-
streaming-commons Data.Streaming.Network Settings for a Unix domain sockets client.
-
streaming-commons Data.Streaming.Network Settings for a Unix domain sockets server.