Lurker News

Comments (485) 80 threads

Earlier comments
johnsmith21006#
Not following on MS?
jdormit1 reply#
Why?

[Edit] Just saw it. This is why I shouldn't read HN on my phone.

cdelsolar1 reply#
i don't get it
jdormit#
If you look at the textual representation of the hex sequences, you can find the string "SHA-1 is dead!!!!!".
mysterydip2 replies#
Forgive my ignorance, but it seems a solution to collision worries is to just use two hashing algorithms instead of one. We have two factor authentication for logins, why not the equivalent for hashed things?

Give me the sha1 and md5, rather than one or the other. Am I wrong in thinking even if one or both are broken individually, having both broken for the same data is an order of magnitude more complex?

pornel1 reply#
You're effectively creating a new hashing algorithm, which is twice as long and twice as slow, and is built using constructs known to be weak.
mysterydip#
Thanks, that makes sense.
Lanzaa#
The complexity of creating a collision for both hashes is pretty much just a sum of the two complexities. Since the sha1 collision is more difficult, that dominates the cost.

Once you have the sha1 collision, making the md5 collide should only take a few seconds of CPU time.

Load more comments