orlp / polymur-hash

The PolymurHash universal hash function.
zlib License
318 stars 7 forks source link

This is awesome #4

Closed o0101 closed 1 year ago

o0101 commented 1 year ago

I love this. I wanted to create a hash based on some mathematical properties like generators modulo a prime, but couldn't figure out how to make it fast or how to take the right approach. I find your work really inspiring, and it's a useful study guide for how to do this stuff and prove mathematical properties of collisions etc.

I wanted to see a hash that had math properties that actually could be a good hash (passing smhasher3 etc). Umash sounded good, and is very fast, but failed many tests. I love your approach, thanks for publishing it! :)

orlp commented 1 year ago

Glad you like it :)