Live data from Hacker News

New fastest portable hash: wyhash

github.com

21–30 of 52 posts

Re: New fastest portable hash: wyhash

#21
post #20

The small key performance is very nice. It would be good to have more written about this new hash function, and less misinformed rant about siphash.

His arguments on siphash are pretty practical, not sure what did you find misinformed there.

From the readme: "SipHash is not secure enough for security purposes"

There's been nothing published to that effect, even though he has claimed for years that he can recover bits from the seed.

Re: New fastest portable hash: wyhash

#22

The small key performance is very nice. It would be good to have more written about this new hash function, and less misinformed rant about siphash.

For someone who isn't following the hashing function 'scene', what's misinformed about this rant?

Most of his arguments simply do not apply to the relevant use case and attacks. The only one that does, the claim that the seed is recoverable, is not an argument at all but a vague, unsubstantiated claim.

Re: New fastest portable hash: wyhash

#26

For security porpose, i thought -> slower performance = better. This would delay rainbow tables

These kind of hashes are used for hash tables, where you want a good compromise between speed and low collision probability. They can also be used as checksums to detect accidental data modification.

They are not meant for cryptographically strong fingerprinting.

Re: New fastest portable hash: wyhash

#29

For security porpose, i thought -> slower performance = better. This would delay rainbow tables

Faster is better for non-cryptographic hashes (like this one) and for cryptographic hashes (like SHA-2, MD5, etc.)

For password hashing, you generally want a work function to increase the resource usage, or some alternative way of making cracking harder. That’s the case you’re thinking of, and it’s a very specific application, not what this new hash function is designed for.

Re: New fastest portable hash: wyhash

#30
post #17

> SipHash is not secure enough for security purposes and not fast enough for general usage. I beg your pardon? The author seems very confused.

Oof.

To expand on this, SipHash is designed to mitigate a certain kind of DOS attack. It’s not a cryptographic hash. SipHash will still be a top choice for general purpose hashing with inputs that can be chosen by an adversary.

Post reply on HN