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.

  1. passwordHashToHexByteString :: PasswordHash -> StrictByteString

    sel 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.

  2. saltToHexByteString :: Salt -> StrictByteString

    sel Sel.Hashing.Password

    Convert Salt to a hexadecimal-encoded StrictByteString.

  3. verifyByteString :: PasswordHash -> StrictByteString -> Bool

    sel 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.

  4. hashByteString :: StrictByteString -> Hash

    sel Sel.Hashing.SHA256

    Hash a StrictByteString with the SHA-256 algorithm.

  5. hashToHexByteString :: Hash -> StrictByteString

    sel Sel.Hashing.SHA256

    Convert a Hash to a strict, hexadecimal-encoded StrictByteString in constant time.

  6. hashByteString :: StrictByteString -> Hash

    sel Sel.Hashing.SHA512

    Hash a StrictByteString with the SHA-512 algorithm.

  7. hashToHexByteString :: Hash -> StrictByteString

    sel Sel.Hashing.SHA512

    Convert a Hash to a strict, hexadecimal-encoded StrictByteString in constant time.

  8. hashByteString :: ShortHashKey -> StrictByteString -> ShortHash

    sel 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

  9. hexByteStringToShortHashKey :: StrictByteString -> Maybe ShortHashKey

    sel Sel.Hashing.Short

    Convert a hexadecimal-encoded StrictByteString to a ShortHashKey. The input key, once decoded from base16, must be of length cryptoShortHashSipHashX24KeyBytes

  10. shortHashKeyToHexByteString :: ShortHashKey -> StrictByteString

    sel Sel.Hashing.Short

    Convert a ShortHashKey to a hexadecimal-encoded StrictByteString in constant time.

Page 103 of many | Previous | Next