3 ms·
I don't know a lot about the specifics of JPG file format, but... with a complex file format you can probably make some educated guesses about the content of so
by Nursie 12y ago
I don't know a lot about the specifics of JPG file format, but... with a complex file format you can probably make some educated guesses about the content of some of the blocks and perhaps start building up a sort of dictionary... ?
Yeah, ECB is BAD.
- yk 12y agoTo the extend that AES is a good random number generator, only if you have a complete dictionary of all blocks. Simply because a random number generator should produce independent output even if you only have a small perturbation in the input. That is, there should be no relation between a completely white block and an one where one of the pixels has a value of 0xfffeff.
- Nursie 12y agoAbsolutely! There's no way I know to get at partial blocks where you have some knowledge, but even then you may have the start of some plaintext-leakage with the known-data and dictionary approach.