Live data from Hacker News

Show HN: Discohash – Fast Hash

github.com

41–44 of 44 posts

Re: Show HN: Discohash – Fast Hash

#41
post #22

It is fast hash sure, but it still only sits in the middle of the pack in smhasher results, which is not very impressive. The code is maybe bit simpler than some of its competition, but to my non-expert eyes its still not trivial, and the compiled code still seems as big as some of its competitors. Although I'm bit curious why there is no "size" result in the smhasher table for this hash? http://rurban.github.io/smha…

woooaah, grumpy gramps. have a bad day at work and home? go play with your kid instead of taking out on people here.

maybe it's just because English is not your first language, but your comment would be a lot kinder without the value judgements.

and kind is the point when on other's work.

Re: Show HN: Discohash – Fast Hash

#42
post #15
post #7

This is a hash designed for non-cryptographic use, like in hash tables or bloom filters. You can tell by their small output size, which greatly reduces the cost of a brute-force collision search. It's also in the linked readme. Hash function families with a similar target usecase include: cityhash, falkhash, farmhash, FNV, meowhash, metrohash, murmur, t1ha, wyhash, xxh. The SMHasher suite tests hash functions for spe…

> This is a hash designed for non-cryptographic use The Readme specifically says "you can modify it to yield 128-bits or more if you want a cryptographically secure hash." Which is a problematic statement, because it is not designed for cryptography even if you extended the output to 256 bit. It's not the output length that makes it cryptographicaly secure. (Rather it's the difference between "you won't find collisio…

you need others to not make crypto claims, but you're so sure making your crypto claim that it's not cryptographic.

it's always easy to front as an expert spectator and believe others work is no good. why don't you back it up with some effort?

I believe it is a crypto hash. so..a fun challenge?

how about this for a fun challenge, why don't you post a cryptanalysis and I'll link it from the README.

Thanks for the beamsplitter link!

maybe it is designed as a crypto hash

Re: Show HN: Discohash – Fast Hash

#43
post #22

It is fast hash sure, but it still only sits in the middle of the pack in smhasher results, which is not very impressive. The code is maybe bit simpler than some of its competition, but to my non-expert eyes its still not trivial, and the compiled code still seems as big as some of its competitors. Although I'm bit curious why there is no "size" result in the smhasher table for this hash? http://rurban.github.io/smha…

oh really? or is it just you who can't tell the difference between a crypto hash and not?

if what you say is true, then I'd be pretty stupid. why do you need to believe something where I'm stupid? make yourself feel smarter?

or maybe you just hate white people. thanks, nobody.

Re: Show HN: Discohash – Fast Hash

#44

Earlier quoted context omitted.

Can you break 128-bits? How should I say it?

Hi Cris! First of all, I love to see new hash designs, it is great! The standard disclaimer is “please do not use this for cryptographic purposes,” placed at the top of the README. (I like to add a hint afterwards, like “If you need security, please use BLAKE3.”) Second, if you do want to make a version in the same family with cryptographic properties, a few things are expected: • Careful list of cryptographic claims…

If your think multiplication is weird, you should check out my floppsy https://github.com/dosyago/floppsy

It uses division and floating point!

You're welcome to try your hand at cryptanalysis. I think a lot of the statical properties are measured in the SMHasher results.

Thank you, Thaddée :)

Post reply on HN