4 ms·
Depends on if the chosen prefix attack allows the content to appear arbitrarily in the middle of the byte stream like that.
by pathseeker 7y ago
Depends on if the chosen prefix attack allows the content to appear arbitrarily in the middle of the byte stream like that.
- Thorrez 7y agoThat's exactly what a chosen prefix attack means. You choose the arbitrary prefixes. Then the garbage is inserted. Then (due to SHA1's Merkle–Damgård construction) you append a postfix that's mostly arbitrary (but the same in both files).