Generate xxhash

Generate a fast non-cryptographic xxHash32 or xxHash64 digest.

freeworks offlinenothing uploaded
ToolxxHash Generator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Input bytes use prime mixing, rotations, and avalanche finalization to produce a 32- or 64-bit hash. The result suits checksums and hash tables, not deliberate-collision resistance.

  • 64-bit output gives a larger non-cryptographic space.
  • 32-bit output is smaller for compact tables.

Worked example

xxHash of Text
Compute a fast non-cryptographic xxHash32 digest
Input
											hello
										
Output
												fb0077f9
											

When to use this

Storage engines, hash tables, and file benchmarks use xxHash.

Edge cases

  • Different seeds change output for identical bytes.
  • Attackers can search collisions more easily than with cryptographic hashes.
  • Endianness and formatting choices affect displayed values.

References