Docs.rs
chacha_box_ietf-0.2.0
chacha_box_ietf 0.2.0
Permalink
Docs.rs crate page
Apache-2.0
OR
MIT
15 September 2026
Links
Homepage
crates.io
Source
Owners
cschramm
wurzelpfropf
Dependencies
blake2 ^0.11
normal
chacha20poly1305 ^0.11
normal
hkdf ^0.13
normal
hybrid-array ^0.4
normal
ml-kem ^0.3.2
normal
rand ^0.10
normal
thiserror ^2
normal
typenum ^1.19.0
normal
x25519-dalek ^3
normal
zeroize ^1.8.2
normal
base64 ^0.23
dev
clap ^4.6.0
dev
Versions
80%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate chacha_box_ietf
chacha_
box_
ietf
0.2.0
All Items
Crate Items
Structs
Enums
Functions
Crate
chacha_
box_
ietf
Copy item path
Source
Structs
§
Public
Key
Secret
Key
Enums
§
Error
Errors returned by this crate.
Version
Wire format version for sealed boxes.
Functions
§
seal
Encrypts
plaintext
for a recipient whose public key is
public_key
. A new key pair will be created for each message. The sealed box starts with the wire format
Version
of
public_key
as its leading byte.
seal_
legacy
Deprecated
Encrypts
plaintext
like
seal
but emits the legacy wire format without a version byte.
unseal
Decrypts the given ciphertext using the given secret key.