Crate chacha_box_ietf

Crate chacha_box_ietf 

Source

Structs§

Error
Error type.
PublicKey
SecretKey

Functions§

seal
Encrypts plaintext for a recipient whose public key is public_key. A new key pair will be created for each message and the ephemeral public key is prefixed to the ciphertext.
unseal
Decrypts the given ciphertext using the given secret key.