Skip to main content

Module symmetric_encryption

Module symmetric_encryption 

Source
Expand description

§Symmetric key encryption

Low-level (“hazmat”) authenticated symmetric ciphers, exposed behind two traits:

These are dangerous primitives that operate directly on raw key material. In most cases you should use the higher-level safe module (e.g. the password-protected key envelope or data envelope) instead.

Modules§

aes_gcm 🔒
AES-256-GCM operations
xchacha20 🔒
XChaCha20-Poly1305 operations

Traits§

Aead 🔒
Authenticated encryption with associated data (AEAD).