Registry / crypto / tiny-keccak

tiny-keccak

JSON →
library2.0.2rscratesunverified

An implementation of Keccak derived functions.

# Cargo.toml [dependencies] tiny-keccak = "2.0.2"
INSTALL
IMPORT
SIG · TINY-KECCAK
T
tiny-keccak
cryptorustv2.0.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.

Keccak
use tiny_keccak::Keccak;

Compute a Keccak-256 hash of a message.

use tiny_keccak::Keccak; fn main() { let mut keccak = Keccak::v256(); let mut output = [0u8; 32]; keccak.update(b"hello"); keccak.finalize(&mut output); println!("Hash: {:x?}", output); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
tiny-keccak — cargo add tiny-keccak · libregistry