Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not simply a sha1(contents), but sha1(header + contents); the addition of that header means that SHA1's internal state is different from what it was in the raw PDFs when we encounter the section of the PDF that — without the header — would cause the internal state to align in the two PDFs. So, the header throws things off. But, if you took the header into account, redid the giant computation that Google did, then you could get two PDFs with different SHA1 hashes that, when committed (and thus get the header added) hash to the same thing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: