Skip to main content

Module xchacha20poly1305_ietf

Module xchacha20poly1305_ietf 

Source
Expand description

XChaCha20-Poly1305-IETF Rustaceous AEAD API, the default algorithm.

Everything in this module is re-exported from dryocaead, so dryoc::dryocaead::Key and dryoc::dryocaead::xchacha20poly1305_ietf::Key name the same type.

Re-exports§

pub use super::AeadAlgorithm;
pub use super::AeadBox;
pub use super::AeadEnvelope;
pub use super::XChaCha20Poly1305Ietf;

Modules§

protectedprotected
Protected memory type aliases for AeadBox and AeadEnvelope

Type Aliases§

DryocAead
XChaCha20-Poly1305-IETF AEAD box.
DryocAeadEnvelope
XChaCha20-Poly1305-IETF AEAD envelope with stored nonce.
Key
Stack-allocated secret key for XChaCha20-Poly1305-IETF AEAD.
Mac
Stack-allocated authentication tag for XChaCha20-Poly1305-IETF AEAD.
Nonce
Stack-allocated public nonce for XChaCha20-Poly1305-IETF AEAD.
VecBoxalloc
Vec-based XChaCha20-Poly1305-IETF AEAD box.
VecEnvelopealloc
Vec-based XChaCha20-Poly1305-IETF AEAD envelope.