Hoogle Search
Within LTS Haskell 24.43 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
passwordHashToHexByteString :: PasswordHash -> StrictByteStringsel Sel.Hashing.Password Convert a PasswordHash to a hexadecimal-encoded StrictByteString in constant time. It is recommended to use this one on a PasswordHash produced by hashByteStringWithParams.
saltToHexByteString :: Salt -> StrictByteStringsel Sel.Hashing.Password Convert Salt to a hexadecimal-encoded StrictByteString.
verifyByteString :: PasswordHash -> StrictByteString -> Boolsel Sel.Hashing.Password Verify the password hash against a clear StrictByteString password This function purposefully takes some time to complete, in order to alleviate bruteforce attacks.
hashByteString :: StrictByteString -> Hashsel Sel.Hashing.SHA256 Hash a StrictByteString with the SHA-256 algorithm.
hashToHexByteString :: Hash -> StrictByteStringsel Sel.Hashing.SHA256 Convert a Hash to a strict, hexadecimal-encoded StrictByteString in constant time.
hashByteString :: StrictByteString -> Hashsel Sel.Hashing.SHA512 Hash a StrictByteString with the SHA-512 algorithm.
hashToHexByteString :: Hash -> StrictByteStringsel Sel.Hashing.SHA512 Convert a Hash to a strict, hexadecimal-encoded StrictByteString in constant time.
hashByteString :: ShortHashKey -> StrictByteString -> ShortHashsel Sel.Hashing.Short Hash a StrictByteString. The same message hashed with the same key will always produce the same output. The ShortHash is of length cryptoShortHashSipHashX24Bytes
hexByteStringToShortHashKey :: StrictByteString -> Maybe ShortHashKeysel Sel.Hashing.Short Convert a hexadecimal-encoded StrictByteString to a ShortHashKey. The input key, once decoded from base16, must be of length cryptoShortHashSipHashX24KeyBytes
shortHashKeyToHexByteString :: ShortHashKey -> StrictByteStringsel Sel.Hashing.Short Convert a ShortHashKey to a hexadecimal-encoded StrictByteString in constant time.