Skip to main content

Crate chacha20_poly1305

Crate chacha20_poly1305 

Source
Expand description

§ChaCha20 - Poly1305

Combine the ChaCha20 stream cipher with the Poly1305 message authentication code to form an authenticated encryption with additional data (AEAD) algorithm.

Re-exports§

pub use self::chacha20::Key;
pub use self::chacha20::Nonce;
pub use self::error::Error;

Modules§

chacha20
The ChaCha20 stream cipher from RFC8439.
error
Error types for the ChaCha20Poly1305 AEAD.
poly1305
Poly1305 one-time message authenticator from RFC8439.

Structs§

ChaCha20Poly1305
Encrypt and decrypt content along with an authentication tag.