Hash Lab

Non-cryptographic

t1ha (Fast Positive Hash)

Designed by Leonid Yuriev (2016+). The full name “Fast Positive Hash” emphasizes both speed and clean SMHasher bias results. The t1ha family sits in the same speed tier as xxHash3 and CityHash, with slightly different optimization choices for different CPU microarchitectures.

The variants

At a glance

Output64 or 128 bits
Throughput10-25 GiB/s on modern CPUs
Projecterthink/t1ha
StatusNon-cryptographic; chosen-input vulnerable

Where it shows up

vs xxHash3 and CityHash

On modern Intel / AMD CPUs, t1ha and xxHash3 trade leadership depending on input size and exact instruction set. The choice in practice is ecosystem-driven: pick the hash your platform’s community has the most tooling for. SMHasher distribution scores are competitive across the three.

References

Quick quiz

Test yourself on t1ha

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

  1. Q1.Who designed t1ha?

  2. Q2.What does t1ha stand for?

  3. Q3.Output sizes available:

  4. Q4.Is t1ha cryptographic?

  5. Q5.Which variant is AES-NI accelerated?

  6. Q6.Database that supports t1ha as a SQL function:

  7. Q7.t1ha throughput on modern CPUs:

  8. Q8.Which project uses t1ha as its primary content hash?

  9. Q9.t1ha is a member of which Wikipedia family?

  10. Q10.t1ha vs xxHash3:

0 of 10 answered