Crate polycrypt

Source

Constants§

XNONCE_LEN

Functions§

decrypt
Decrypt a ciphertext. Note that we accept any nonce, not just deterministic ones.
derive_xnonce
Truncated HMAC-SHA256(key, plaintext)
encrypt
Encrypt a piece of plaintext data using a deterministic pseudorandom nonce.

Type Aliases§

Key
XNonce