Registry / crypto / cryptoxide

cryptoxide

JSON →
library0.5.1rscratesunverified

Pure Rust implementation of various modern cryptographic algorithms, compatible with WASM.

# Cargo.toml [dependencies] cryptoxide = "0.5.1"
INSTALL
IMPORT
SIG · CRYPTOXIDE
C
cryptoxide
cryptorustv0.5.1
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 cryptoxide::sha2::Sha256;

Computes SHA-256 hash of a string.

use cryptoxide::sha2::Sha256; use cryptoxide::digest::Digest; let mut hasher = Sha256::new(); hasher.input(b"hello"); let result = hasher.result_str(); println!("{}", result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
cryptoxide — cargo add cryptoxide · libregistry