3 ms·
(very)psuedocode: goto showImage1; showImage1: renderImage1(); exit showImage2: renderImage2(); exit If an attacker can hash a block tha
by dsp1234 10y ago
(very)psuedocode:
goto showImage1;
showImage1:
renderImage1();
exit
showImage2:
renderImage2();
exit
If an attacker can hash a block that means "goto showImage1" and "goto showImage2" with the same hash, then you can see that the contents of those images doesn't matter, as long as the data for those images occurs after the logic for choosing them.
(and no that's not what this attack does in reality, but just a logical framework for understanding why the images don't matter)