[dependencies.cfg-if]
version = "1"
[dependencies.cipher]
version = "0.4.4"
[dev-dependencies.cipher]
features = ["dev"]
version = "0.4.4"
[dev-dependencies.hex-literal]
version = "0.3.3"
[features]
std = ["cipher/std"]
zeroize = ["cipher/zeroize"]
[package]
authors = ["RustCrypto Developers"]
categories = ["cryptography", "no-std"]
description = """
The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using traits
from the RustCrypto `cipher` crate, with optional architecture-specific
hardware acceleration (AVX2, SSE2). Additionally provides the ChaCha8, ChaCha12,
XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional
rand_core-compatible RNGs based on those ciphers.
"""
documentation = "https://docs.rs/chacha20"
edition = "2021"
keywords = ["crypto", "stream-cipher", "chacha8", "chacha12", "xchacha20"]
license = "Apache-2.0 OR MIT"
name = "chacha20"
readme = "README.md"
repository = "https://github.com/RustCrypto/stream-ciphers"
resolver = "1"
rust-version = "1.56"
version = "0.9.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies.cpufeatures]
version = "0.2"