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. authenticationKeyFromHexByteString :: StrictByteString -> Either Text AuthenticationKey

    sel Sel.SecretKey.Authentication

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

  2. authenticationTagFromHexByteString :: StrictByteString -> Either Text AuthenticationTag

    sel Sel.SecretKey.Authentication

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

  3. authenticationTagToHexByteString :: AuthenticationTag -> StrictByteString

    sel Sel.SecretKey.Authentication

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

  4. unsafeAuthenticationKeyToHexByteString :: AuthenticationKey -> StrictByteString

    sel Sel.SecretKey.Authentication

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

  5. ciphertextFromHexByteString :: StrictByteString -> Either Text Ciphertext

    sel Sel.SecretKey.Cipher

    Create a Ciphertext from a hexadecimal-encoded StrictByteString that you have obtained on your own, usually from the network or disk. It must be a valid ciphertext built from the concatenation of the encrypted message and the authentication tag. The input ciphertext must at least of length cryptoSecretboxMACBytes.

  6. ciphertextToHexByteString :: Ciphertext -> StrictByteString

    sel Sel.SecretKey.Cipher

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

  7. nonceFromHexByteString :: StrictByteString -> Either Text Nonce

    sel Sel.SecretKey.Cipher

    Create a Nonce from a binary StrictByteString that you have obtained on your own, usually from the network or disk. Once decoded from hexadecimal, it must be of length cryptoSecretboxNonceBytes.

  8. nonceToHexByteString :: Nonce -> StrictByteString

    sel Sel.SecretKey.Cipher

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

  9. secretKeyFromHexByteString :: StrictByteString -> Either Text SecretKey

    sel Sel.SecretKey.Cipher

    Create a SecretKey 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 cryptoSecretboxKeyBytes.

  10. unsafeSecretKeyToHexByteString :: SecretKey -> StrictByteString

    sel Sel.SecretKey.Cipher

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

Page 105 of many | Previous | Next