clementine_
core
0.4.0
Module encryption
Module Items
Constants
Functions
In crate clementine_
core
clementine_core
Module
encryption
Copy item path
Source
Constants
§
EPHEMERAL_
PUBKEY_
LEN
🔒
MIN_
ENCRYPTED_
LEN
🔒
Functions
§
decrypt_
bytes
Decrypts a message encrypted with
encrypt_bytes
using the recipient’s X25519 private key.
encrypt_
bytes
Encrypts a message for a recipient using X25519 key agreement and XChaCha20Poly1305 authenticated encryption.