Re:SHA-1 collider: Make your own colliding PDFs
by TorKlingberg on Friday February 24, 2017 @04:57PM
(#13728297)
It seems so. I can add the same arbitrary data at the end of two pdfs generated by this tool, and they are still a collision. I didn't know SHA-1 is so susceptible to length extension. Is there no internal state in the algorithm that would be different even if the hash output is identical?
[ Parent
| on HN ]
Re:SHA-1 collider: Make your own colliding PDFs
by danielweber on Friday February 24, 2017 @05:26PM
(#13728510)
If you were to somehow get two messages with the same SHA-3 hash, you could keep on appending the same data to both and they would keep the same SHA-3. But SHA-3 is explicitly not vulnerable to length extension attacks.
Re:SHA-1 collider: Make your own colliding PDFs
by fivesigma on Friday February 24, 2017 @05:31PM
(#13728549)
No they wouldn't, since its internal state is different than the output.
Same goes for SHA-224 and SHA-384.
Re:SHA-1 collider: Make your own colliding PDFs
by danielweber on Friday February 24, 2017 @05:32PM
(#13728554)
Damn, right, you have to get them with the same internal state.