Overview of ChaCha20Poly1305 and XChaCha20Poly1305
masterThe chacha20poly1305 crate provides a pure Rust implementation of the ChaCha20Poly1305 Authenticated Encryption with Associated Data (AEAD) cipher, as specified in RFC 8439. It is based on the ChaCha20 stream cipher and the Poly1305 universal hash function.
This crate also includes an implementation of XChaCha20Poly1305, which is a variant featuring an extended 192-bit (24-byte) nonce, providing greater flexibility for nonce generation compared to the standard version.