Registry / crypto / orion
library0.17.14rscratesunverified

Usable, easy and safe pure-Rust cryptography library providing high-level cryptographic primitives.

# Cargo.toml [dependencies] orion = "0.17.14"
INSTALL
IMPORT
SIG · ORION
O
orion
cryptorustv0.17.14
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.

Sha256
use orion::hazardous::hash::sha2::Sha256;

Computes a SHA-256 hash of a byte string.

use orion::hazardous::hash::sha2::Sha256; fn main() { let hash = Sha256::digest(b"hello"); println!("SHA256: {:?}", hash); }
Debug
Known issues
gotchaSome modules are marked as 'hazardous' and require careful usage
fix
Prefer high-level APIs like orion::aead or orion::kdf for common tasks.
affects: >=0.17.0
Upgrade
Version history
0.17.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
orion — cargo add orion · libregistry