Registry / crypto / hasher

hasher

JSON →
library0.1.4rscratesunverified

Provides a Hasher trait for implementing hash functions in Rust.

# Cargo.toml [dependencies] hasher = "0.1.4"
INSTALL
IMPORT
SIG · HASHER
H
hasher
cryptorustv0.1.4
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.

Hasher
use hasher::Hasher;

Implementing the Hasher trait for a custom hash function.

use hasher::Hasher; struct MyHasher; impl Hasher for MyHasher { fn hash(&self, data: &[u8]) -> Vec<u8> { // Custom hash implementation data.to_vec() } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
hasher — cargo add hasher · libregistry