[dependencies.aead]
default-features = false
version = "0.5"
[dependencies.chacha20]
features = ["zeroize"]
optional = true
version = "0.9"
[dependencies.cipher]
default-features = false
version = "0.4"
[dependencies.generic-array]
default-features = false
features = ["zeroize"]
version = "0.14.7"
[dependencies.poly1305]
version = "0.8"
[dependencies.salsa20]
features = ["zeroize"]
optional = true
version = "0.10"
[dependencies.subtle]
default-features = false
version = "2"
[dependencies.zeroize]
default-features = false
version = "1"
[dev-dependencies.hex-literal]
version = "0.4"
[features]
alloc = ["aead/alloc"]
default = ["alloc", "getrandom", "salsa20"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
std = ["aead/std", "alloc"]
stream = ["aead/stream"]
[package]
authors = ["RustCrypto Developers"]
categories = ["cryptography", "no-std"]
description = "Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. NaCl crypto_secretbox)\nauthenticated encryption cipher as well as the libsodium variant of\nXChaCha20Poly1305\n"
documentation = "https://docs.rs/crypto_secretbox"
edition = "2021"
keywords = ["aead", "nacl", "poly1305", "salsa20", "xsalsa20"]
license = "Apache-2.0 OR MIT"
name = "crypto_secretbox"
readme = "README.md"
repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox"
rust-version = "1.60"
version = "0.1.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]