Registry / crypto / keccak

keccak

JSON →
library0.2.0rscratesunverified

Pure Rust implementation of the Keccak sponge functions.

# Cargo.toml [dependencies] keccak = "0.2.0"
INSTALL
IMPORT
SIG · KECCAK
K
keccak
cryptorustv0.2.0
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.

Keccak
use keccak::Keccak;

Computes a Keccak-256 hash of the input data.

use keccak::Keccak; fn main() { let mut hasher = Keccak::new_keccak256(); hasher.update(b"hello"); let result = hasher.finalize(); println!("Hash: {:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
keccak — cargo add keccak · libregistry