Pure Rust implementation of the ChaCha20Poly1305 Authenticated Encryption with Additional Data Cipher (RFC 8439) with optional architecture-specific hardware acceleration.
# Cargo.toml
[dependencies]
chacha20poly1305 = "0.10.1"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Encrypts a plaintext using ChaCha20Poly1305 with a random key and a nonce.
Add `rand_core` as a dependency or use `ChaCha20Poly1305::new_from_slice` with a pre-generated key.
No dependency data recorded yet.