Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2026, 17:53
Ibrahim_Mihai Ibrahim_Mihai is offline
Banned User
 
Join Date: Feb 2026
Posts: 6
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 6
Thanks Rcvd at 2 Times in 2 Posts
Ibrahim_Mihai Reputation: 0
Adversarial examples for fast hash functions

Hashing needs to be fast. xxHash boasts 60 GB/s, or basically as fast as you can read memory. Such bulk hashing is useful for file synchronisation or data integrity checking.

Many popular hashes like komihash, a5hash, HighwayHash, SpookyHash, aHash, and t1ha2 are willing to trade quality, at least for adversarial inputs, for more speed.

I was able to use Claude Fable to analyse a broad selection of popular hashes from SMhasher, a large project to empirically test statistical properties of hashes. It found that most of them have inputs on which they perform terribly—at least 20 bits below expectation.

A few hashes have published proofs, and Fable was able to find mistakes in some and verify others in Lean.
Click on any dot in the chart to read the full analysis.

Quote:
https://thomasahle.com/blog/adversarial-examples-for-hashes/
Reply With Quote
The Following User Says Thank You to Ibrahim_Mihai For This Useful Post:
niculaita (09-23-2026)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 10:01.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )