4 ms·
The main idea behind the collision is that you can put a lot of garbage inside a pdf in a zone that the pdf reader will ignore. This is very common for most fil
by gus_massa 10y ago
The main idea behind the collision is that you can put a lot of garbage inside a pdf in a zone that the pdf reader will ignore. This is very common for most file formats, like jpg, doc, ... so the same idea applies to most of them.
But it will be very difficult to disguise that in a PR. If you send a PR that says
- printf("Helo");
+ printf("Hello");
+ // UIHIUEDN7heuiheuih7h00eduhuihoiu[...]hiouHIGo77OUIHIUHJ&g6(&(HHHIUHIIOJIOJK8jjoijoijdnYIHIHI
the maintainer will be very suspicious. (And if you do this in a business, they will fire you.)
- wapz 10y agoCan you explain how git uses the sha-1 hash? If the maintainer still has to merge PRs I don't see how it's affected.