Re:“Should you encrypt or compress first?”
by duskwuff on Tuesday June 28, 2016 @02:29PM
(#11996229)
Yep. Wikipedia uses this example image:
https://upload.wikimedia.org/wikipedia/commons/f/f0/Tux_ecb....
AES-ECB mode will actually compress fairly well for some inputs (the canonical example being a bitmap image). The reason the compression can work? Because the crypto is broken. In the image case you can actually just visually (no maths or anything) see a large amount of the details of the source image.