[dependencies.aead]
default-features = false
version = "0.3"
[dependencies.chacha20]
features = ["zeroize"]
optional = true
version = "0.5"
[dependencies.poly1305]
version = "0.6"
[dependencies.stream-cipher]
version = "0.7"
[dependencies.zeroize]
default-features = false
version = "1"
[features]
alloc = ["aead/alloc"]
default = ["alloc", "chacha20", "xchacha20poly1305"]
heapless = ["aead/heapless"]
reduced-round = ["chacha20"]
std = ["aead/std", "alloc"]
xchacha20poly1305 = ["chacha20/xchacha20"]
[package]
authors = ["RustCrypto Developers"]
categories = ["cryptography", "no-std"]
description = "Pure Rust implementation of the ChaCha20Poly1305 Authenticated Encryption\nwith Additional Data Cipher (RFC 8439) with optional architecture-specific\nhardware acceleration. Also contains implementations of the XChaCha20Poly1305\nextended nonce variant of ChaCha20Poly1305, and the reduced-round\nChaCha8Poly1305 and ChaCha12Poly1305 lightweight variants.\n"
documentation = "https://docs.rs/chacha20poly1305"
edition = "2018"
keywords = ["aead", "chacha20", "poly1305", "xchacha20", "xchacha20poly1305"]
license = "Apache-2.0 OR MIT"
name = "chacha20poly1305"
readme = "README.md"
repository = "https://github.com/RustCrypto/AEADs"
version = "0.6.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]