Registry / utility / twox-hash

twox-hash

JSON →
library2.1.2rscratesunverified

A Rust implementation of the XXHash and XXH3 algorithms for fast hashing.

# Cargo.toml [dependencies] twox-hash = "2.1.2"
INSTALL
IMPORT
SIG · TWOX-HASH
T
twox-hash
utilityrustv2.1.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.

XxHash64
use twox_hash::XxHash64;

Compute a 64-bit XXHash using XxHash64.

use std::hash::BuildHasherDefault; use twox_hash::XxHash64; let mut hasher = BuildHasherDefault::<XxHash64>::default().build_hasher(); hasher.write(b"hello"); let hash = hasher.finish(); println!("{}", hash);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
Resources
twox-hash — cargo add twox-hash · libregistry