pub const fn xxh3_128(data: &[u8]) -> u128Expand description
Compute the XXH3 128-bit hash of data in a single call.
Available as a const fn for compile-time hashing.
Uses seed=0 and the default XXH3 secret.
ยงExample
use xxhash::xxh3_128;
let hash: u128 = xxh3_128(b"hello");
assert_eq!(hash, 0xB5E9C1AD071B3E7FC779CFAA5E523818);