Hash Lab

Non-cryptographic

xxHash3 / XXH128

Designed by Yann Collet (also of LZ4 / Zstandard) and released in 2019, xxHash3 is the third generation of the xxHash family and the fastest non-cryptographic hash in widespread use , tens of GiB/s on a single modern core thanks to SIMD paths, frequently limited by memory bandwidth rather than the algorithm.

Variants

At a glance

Output64 or 128 bits
Throughput10–30+ GiB/s on a single modern core
ConstructionMultiply-add lanes (SIMD-friendly), seeded mixer
Year2019 (XXH3 / XXH128)
StandardNone; reference impl by Cyan4973 on GitHub
StatusNon-cryptographic; defaults are seedable to defeat trivial flooding

Where it is used

Why so fast

When NOT to use it

xxHash3 is nota cryptographic hash. Differentials are findable in seconds with a SAT solver. Do not use xxHash for content addressing where adversaries could submit inputs, for MACs, or for deduplication that needs to survive an attacker. For those, choose BLAKE3 (often within 2× the speed) or SHA-256.

Try it

xxHash variants are in the comparator catalog; for raw throughput comparisons see the comparator.

References

Visualize

xxHash3 (64-bit) on your input

11 bytes · 0-bit digest

Hex digest

Bit grid (0 bits, teal = 1, slate = 0)

Byte pixel art (0 bytes, hue = byte value mod 360°)

Avalanche , flipping the lowest bit of the first input byte changed 0 of 0 output bits

Quick quiz

Test yourself on xxhash3

10 multiple-choice questions. Pick an answer for each, then submit to see explanations.

  1. Q1.Who designed xxHash3?

  2. Q2.What's xxHash3's typical throughput on a modern CPU core?

  3. Q3.Is xxHash3 cryptographically secure?

  4. Q4.What's the output size of XXH3 (the 64-bit variant)?

  5. Q5.Which compression library uses xxHash for content checksums?

  6. Q6.Why is xxHash3 so fast on modern CPUs?

  7. Q7.Is xxHash standardized in an RFC?

  8. Q8.Which is NOT in the xxHash family?

  9. Q9.Which Rust crate provides xxHash for HashMaps?

  10. Q10.When should you NOT use xxHash3?

0 of 10 answered