[dependencies.aead]
default-features = false
version = "0.5.1"
[dependencies.blake2]
default-features = false
optional = true
version = "0.10"
[dependencies.chacha20]
version = "0.9"
[dependencies.chacha20poly1305]
default-features = false
features = ["rand_core"]
version = "0.10.1"
[dependencies.salsa20]
version = "0.10"
[dependencies.serdect]
default-features = false
optional = true
version = "0.1"
[dependencies.x25519-dalek]
default-features = false
version = "1"
[dependencies.xsalsa20poly1305]
default-features = false
features = ["rand_core"]
version = "0.9"
[dependencies.zeroize]
default-features = false
version = "1"
[dev-dependencies.bincode]
version = "1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.rmp-serde]
version = "1"
[features]
alloc = ["aead/alloc"]
default = ["alloc", "getrandom", "u64_backend"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
seal = ["alloc", "blake2"]
serde = ["serdect"]
std = ["aead/std"]
u32_backend = ["x25519-dalek/u32_backend"]
u64_backend = ["x25519-dalek/u64_backend"]
[package]
authors = ["RustCrypto Developers"]
categories = ["cryptography", "no-std"]
description = "Pure Rust implementation of NaCl's crypto_box public-key authenticated\nencryption primitive which combines the X25519 Elliptic Curve Diffie-Hellman\nfunction and the XSalsa20Poly1305 authenticated encryption cipher\n"
documentation = "https://docs.rs/crypto_box"
edition = "2021"
homepage = "https://github.com/RustCrypto/nacl-compat"
keywords = ["nacl", "libsodium", "public-key", "x25519", "xsalsa20poly1305"]
license = "Apache-2.0 OR MIT"
name = "crypto_box"
readme = "README.md"
repository = "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_box"
rust-version = "1.56"
version = "0.8.2"
[package.metadata.docs.rs]
features = ["serde", "seal"]
rustdoc-args = ["--cfg", "docsrs"]