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. randomByteString :: Int -> IO ByteString

    saltine Crypto.Saltine.Internal.Util

    Build a sized random ByteString using Sodium's bindings to devurandom.

  2. authenticationKeyFromHexByteString :: StrictByteString -> Either Text AuthenticationKey

    sel Sel.HMAC.SHA256

    Create an AuthenticationKey from a binary StrictByteString that you have obtained on your own, usually from the network or disk. The input secret key, once decoded from base16, must be of length cryptoAuthHMACSHA256Bytes.

  3. authenticationTagFromHexByteString :: StrictByteString -> Either Text AuthenticationTag

    sel Sel.HMAC.SHA256

    Create an AuthenticationTag from a binary StrictByteString that you have obtained on your own, usually from the network or disk. The input secret key, once decoded from base16, must be of length cryptoAuthHMACSHA256Bytes.

  4. authenticationTagToHexByteString :: AuthenticationTag -> StrictByteString

    sel Sel.HMAC.SHA256

    Convert an AuthenticationTag to a hexadecimal-encoded StrictByteString in constant time.

  5. unsafeAuthenticationKeyToHexByteString :: AuthenticationKey -> StrictByteString

    sel Sel.HMAC.SHA256

    Convert a 'AuthenticationKey to a hexadecimal-encoded StrictByteString in constant time. ⚠️ Be prudent as to where you store it!

  6. authenticationKeyFromHexByteString :: StrictByteString -> Either Text AuthenticationKey

    sel Sel.HMAC.SHA512

    Create an AuthenticationKey from a binary StrictByteString that you have obtained on your own, usually from the network or disk. The input secret key, once decoded from base16, must be of length cryptoAuthHMACSHA512Bytes.

  7. authenticationTagFromHexByteString :: StrictByteString -> Either Text AuthenticationTag

    sel Sel.HMAC.SHA512

    Create an AuthenticationTag from a binary StrictByteString that you have obtained on your own, usually from the network or disk. The input secret key, once decoded from base16, must be of length cryptoAuthHMACSHA512Bytes.

  8. authenticationTagToHexByteString :: AuthenticationTag -> StrictByteString

    sel Sel.HMAC.SHA512

    Convert an AuthenticationTag to a hexadecimal-encoded StrictByteString in constant time.

  9. unsafeAuthenticationKeyToHexByteString :: AuthenticationKey -> StrictByteString

    sel Sel.HMAC.SHA512

    Convert a 'AuthenticationKey to a hexadecimal-encoded StrictByteString in constant time. ⚠️ Be prudent as to where you store it!

  10. authenticationKeyFromHexByteString :: StrictByteString -> Either Text AuthenticationKey

    sel Sel.HMAC.SHA512_256

    Create an AuthenticationKey from a binary StrictByteString that you have obtained on your own, usually from the network or disk. The input secret key, once decoded from base16, must be of length cryptoAuthHMACSHA512256Bytes.

Page 101 of many | Previous | Next