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
xaes_256_gcm πŸ”’
XAES-256-GCM operations
xchacha20 πŸ”’
XChaCha20-Poly1305 operations

TraitsΒ§

Aead πŸ”’
Authenticated encryption with associated data (AEAD).