clementine_core

Module encryption

Source

Constants§

Functions§

  • Decrypts a message encrypted with encrypt_bytes using the recipient’s X25519 private key.
  • Encrypts a message for a recipient using X25519 key agreement and XChaCha20Poly1305 authenticated encryption.