Registry / crypto / dryoc
library0.7.2rscratesunverified

Don't Roll Your Own Crypto: pure-Rust, hard to misuse cryptography library

# Cargo.toml [dependencies] dryoc = "0.7.2"
INSTALL
IMPORT
SIG · DRYOC
D
dryoc
cryptorustv0.7.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DryocBox
use dryoc::DryocBox;

Encrypt a message using DryocBox

use dryoc::DryocBox; fn main() { let message = b"Hello, world!"; let encrypted = DryocBox::seal(message, &[]); println!("Encrypted: {:?}", encrypted); }
Debug
Known issues
gotchaRequires the 'default' feature for full functionality
fix
Add dryoc = { version = "0.7", features = ["default"] } to Cargo.toml
affects: >=0.7.0
Upgrade
Version history
0.7.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
Amazon
1
Resources
dryoc — cargo add dryoc · libregistry