Registry / crypto / siphasher

siphasher

JSON →
library1.0.3rscratesunverified

SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust.

# Cargo.toml [dependencies] siphasher = "1.0.3"
INSTALL
IMPORT
SIG · SIPHASHER
S
siphasher
cryptorustv1.0.3
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.

SipHasher
use siphasher::sip::SipHasher;

Hash a string using SipHash.

use siphasher::sip::SipHasher; use std::hash::{Hash, Hasher}; fn main() { let mut hasher = SipHasher::new(); "hello".hash(&mut hasher); println!("{}", hasher.finish()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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