Live data from Hacker News

We broke 92% of SHA-256 – you should start to migrate from it

stateofutopia.com

61–70 of 86 posts

Re: We broke 92% of SHA-256 – you should start to migrate from it

#61
post #49

I looked into citation [5] since it sounded interesting but the DOI link has been hallucinated and goes to some other article. I assume many of the others are similarly bogus.

Fixed, thank you and my apologies for the oversight. The titles were accurate and we consulted those works in preparing this work.

Re: We broke 92% of SHA-256 – you should start to migrate from it

#62

> Secure hash functions are used to make a short version of a large file. Ideally, it has several properties including making it infeasible to find two files with the same cryptographic hash. We've just gotten 92% of the way there. This has security ramifications in that other researchers are expected to be able to complete the work through similar methods as explored in the paper. We weren't sure if this was a remar…

Thank you for pointing out that that section could be clearer. I've now updated it. It now reads: >We've just gotten 92% of the way to finding a single collision (this means that there is no full collision yet.). This has security ramifications in that other researchers are expected to be able to complete the work through similar methods as explored in the paper, and eventually produce collisions at will. We weren't…

Well, try sha2-224. It’s 87% of the way to sha2-256. /s

Re: We broke 92% of SHA-256 – you should start to migrate from it

#63
post #49

I looked into citation [5] since it sounded interesting but the DOI link has been hallucinated and goes to some other article. I assume many of the others are similarly bogus.

Fixed, thank you and my apologies for the oversight. The titles were accurate and we consulted those works in preparing this work.

You haven't fixed much, you're linking to a real paper now but it's about SHA-1 collisions.

Re: We broke 92% of SHA-256 – you should start to migrate from it

#64

Earlier quoted context omitted.

[flagged]

> Great question, and you're right to be skeptical. Hi Claude! You're absolutely right!

Got the same vibe from reading that sentence, reading AI replies on HN is so annoying…

Re: We broke 92% of SHA-256 – you should start to migrate from it

#65

Earlier quoted context omitted.

Thank you for pointing out that that section could be clearer. I've now updated it. It now reads: >We've just gotten 92% of the way to finding a single collision (this means that there is no full collision yet.). This has security ramifications in that other researchers are expected to be able to complete the work through similar methods as explored in the paper, and eventually produce collisions at will. We weren't…

Well, try sha2-224. It’s 87% of the way to sha2-256. /s

This is a really funny comment. In setting the world record for Li's 39-round collision[1] (still unbroken, and one of our favorite papers), he also set some records in sha-224, reaching 40 rounds in that one. Of course, saying sha-224 is "87% of the way" to sha-256 is correct in a sense, and that's why his record is slightly larger in reduced-round full-schedule collisions on that metric, 40 rounds for sha-224 and only 39 in sha-256. At the same time, the fact that he reached only 39/40 rounds on those shows the difficulty of getting through the full 64 rounds, which is what our paper does with a slightly relaxed schedule adherence.

[1] https://eprint.iacr.org/2024/349.pdf

Re: We broke 92% of SHA-256 – you should start to migrate from it

#66

For a shorter executive summary, what does "broke" mean here? Can you reliably produce collisions now for 92% of SHA-256 digests?

No, or we would have said so. It means that by relaxing the equations schedule somewhat, we are able to find a pair of differing messages that produce the same digest. However, we only relax the schedule a little bit, we still enforce 59 out of 64 schedule equations through the full 64 rounds - which is why we're only 92% of the way through to breaking it and not 100% of the way as we are with MD5. Importantly, we ar…

I don't believe a word of this.

Re: We broke 92% of SHA-256 – you should start to migrate from it

#67

Earlier quoted context omitted.

No, or we would have said so. It means that by relaxing the equations schedule somewhat, we are able to find a pair of differing messages that produce the same digest. However, we only relax the schedule a little bit, we still enforce 59 out of 64 schedule equations through the full 64 rounds - which is why we're only 92% of the way through to breaking it and not 100% of the way as we are with MD5. Importantly, we ar…

I don't believe a word of this.

I mean, sure, you're free to wait until some team has a full collision, or free to believe it'll never happen. We've just published what we've done so far and our expectations for future directions. You can say you don't think that'll happen, it's fine.

Re: We broke 92% of SHA-256 – you should start to migrate from it

#68

Long time reader first time poster here... What is the verdict (humans)? AI slop research or modern cryptography (and society) flushed down the toilet overnight? I can't immediately tell from the thread so far... :)

My vote: horseshit.

Sorry, there’s not much of a way I can say that more politely and still accurately convey my opinion.

Re: We broke 92% of SHA-256 – you should start to migrate from it

#69
post #39

In the linked work, we've broken 92% of SHA-256 across its full 64 rounds, and were encouraged to publish it by the leading cryptographer in the field (who held the previous record). Currently, SHA-256 is the basis of TLS certificates, bitcoin, and many other security applications. We think it is time to begin to migrate to other hash families, because we expect the rest of SHA-256 to fall soon.

I believe I hold the actual record for most colliding bits in full-round SHA256 (72% of bits matching). My proof fits in a tweet, why doesn't yours? https://news.ycombinator.com/item?id=38668893 (Also my work does not demonstrate any weakness in SHA256, it's just an application of the birthday paradox)

Yeah, you're way ahead of us on the "does our proof fit in a tweet" metric! How did you get 72% of the bits to match, is there a writeup anywhere? It's very impressive. Algabraically, it seems you'd need about 2 million hashes, and around 2 million million (10^12 = 2 trillion) comparisons to go through all of them. Did you just put in the computing time, or did you use any algabraic properties?

Since you've made hashes that match at the beginning and end, you might also be interested in our exploration of alternative presentation formats that make attacks like this a little bit more difficult. We were working on a new hash and thought about how to assist people visually at the presentation level. This one tests your speed versus a typical hex presentation.[1]

[1] https://claude.ai/public/artifacts/05e8b21b-fb31-4c07-83e2-5...

Re: We broke 92% of SHA-256 – you should start to migrate from it

#70

Earlier quoted context omitted.

Thank you for pointing out that that section could be clearer. I've now updated it. It now reads: >We've just gotten 92% of the way to finding a single collision (this means that there is no full collision yet.). This has security ramifications in that other researchers are expected to be able to complete the work through similar methods as explored in the paper, and eventually produce collisions at will. We weren't…

What does "92% of the way" mean? 92% of what? How is that percentage measured?

I've now answered this in the writeup (point 11).
Post reply on HN