Hacker News new | past | comments | ask | show | jobs | submit login

Because controlling the visual appearance would change the data of the PDF, hence change the underlying hash.



Non-coding regions.

Not every part of a file codes for its apparent output. Comments, symbol names, whitespace, color tables... for most file formats, there are countless variations of the bytes on disk which produce outputs which are visually indistinguishable.

The trick is to identify this space in a way that lets you efficiently iterate through it until you find a version which matches the target hash.




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

Search: