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.
shortHashToHexByteString :: ShortHash -> StrictByteStringsel Sel.Hashing.Short Convert a ShortHash to a hexadecimal-encoded StrictByteString in constant time.
ciphertextFromHexByteString :: StrictByteString -> Either Text Ciphertextsel 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.
ciphertextToHexByteString :: Ciphertext -> StrictByteStringsel Sel.PublicKey.Cipher Convert a Ciphertext to a hexadecimal-encoded StrictByteString in constant time. ⚠️ Be prudent as to where you store it!
-
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.
nonceFromHexByteString :: StrictByteString -> Either Text Noncesel Sel.PublicKey.Cipher Create a Nonce from a hexadecimal-encoded StrictByteString that you have obtained on your own, usually from the network or disk.
nonceToHexByteString :: Nonce -> StrictByteStringsel Sel.PublicKey.Cipher Convert a Nonce to a hexadecimal-encoded StrictByteString in constant time.
publicKeyToHexByteString :: PublicKey -> StrictByteStringsel Sel.PublicKey.Cipher Convert a PublicKey to a hexadecimal-encoded StrictByteString.
unsafeSecretKeyToHexByteString :: SecretKey -> StrictByteStringsel Sel.PublicKey.Cipher Convert a SecretKey to a hexadecimal-encoded StrictByteString in constant time. ⚠️ Be prudent as to where you store it!
asciiByteStringToScryptHash :: StrictByteString -> ScryptHashsel Sel.Scrypt Convert an ASCII-encoded password hash to a ScryptHash This function does not perform ASCII validation.
scryptHashToByteString :: ScryptHash -> StrictByteStringsel Sel.Scrypt Convert a ScryptHash to a binary StrictByteString in constant time.