Docs.rs
chacha_box_ietf-0.1.0
chacha_box_ietf 0.1.0
Permalink
Docs.rs crate page
Apache-2.0
OR
MIT
Links
Homepage
crates.io
Source
Owners
cschramm
Dependencies
blake2 ^0.10.6
normal
chacha20poly1305 ^0.10.1
normal
generic-array ^0.14.7
normal
hkdf ^0.12.4
normal
typenum ^1.17.0
normal
x25519-dalek ^2.0.1
normal
zeroize ^1.8.1
normal
base64 ^0.22
dev
clap ^4.5.16
dev
thiserror ^2
dev
Versions
73.33%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
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
Crate chacha_box_ietf
chacha_
box_
ietf
0.1.0
All Items
Crate Items
Structs
Functions
Crate
chacha_
box_
ietf
Copy item path
Source
Structs
§
Error
Error type.
Public
Key
Secret
Key
Functions
§
seal
Encrypts
plaintext
for a recipient whose public key is
public_key
. A new key pair will be created for each message and the ephemeral public key is prefixed to the ciphertext.
unseal
Decrypts the given ciphertext using the given secret key.