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. shortHashToHexByteString :: ShortHash -> StrictByteString

    sel Sel.Hashing.Short

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

  2. ciphertextFromHexByteString :: StrictByteString -> Either Text Ciphertext

    sel Sel.PublicKey.Cipher

    Create a Ciphertext from a binary 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 cipher text, once decoded from base16, must be at least of length cryptoBoxMACBytes.

  3. ciphertextToHexByteString :: Ciphertext -> StrictByteString

    sel Sel.PublicKey.Cipher

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

  4. keyPairFromHexByteStrings :: StrictByteString -> StrictByteString -> Either Text (PublicKey, SecretKey)

    sel Sel.PublicKey.Cipher

    Create a pair of SecretKey and PublicKey from hexadecimal-encoded StrictByteStrings that you have obtained on your own, usually from the network or disk. The public and secret keys, once decoded from base16, must respectively be at least of length cryptoBoxPublicKeyBytes and 'cryptoBoxSecretKeyBytes.

  5. nonceFromHexByteString :: StrictByteString -> Either Text Nonce

    sel Sel.PublicKey.Cipher

    Create a Nonce from a hexadecimal-encoded StrictByteString that you have obtained on your own, usually from the network or disk.

  6. nonceToHexByteString :: Nonce -> StrictByteString

    sel Sel.PublicKey.Cipher

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

  7. publicKeyToHexByteString :: PublicKey -> StrictByteString

    sel Sel.PublicKey.Cipher

    Convert a PublicKey to a hexadecimal-encoded StrictByteString.

  8. unsafeSecretKeyToHexByteString :: SecretKey -> StrictByteString

    sel Sel.PublicKey.Cipher

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

  9. asciiByteStringToScryptHash :: StrictByteString -> ScryptHash

    sel Sel.Scrypt

    Convert an ASCII-encoded password hash to a ScryptHash This function does not perform ASCII validation.

  10. scryptHashToByteString :: ScryptHash -> StrictByteString

    sel Sel.Scrypt

    Convert a ScryptHash to a binary StrictByteString in constant time.

Page 104 of many | Previous | Next