3 ms·
the famous picture of tux being encrypted using ECB was featured in my computer science lectures >20 years ago https://commons.wikimedia.org/wiki/File:Tux_ecb.
by blibble 4y ago
the famous picture of tux being encrypted using ECB was featured in my computer science lectures >20 years ago
https://commons.wikimedia.org/wiki/File:Tux_ecb.jpg https://commons.wikimedia.org/wiki/File:Tux_ecb.jpg
I guess next we'll find out MS are still using DES or RC4
- cendyne 4y agoI love the adaptation for the season. ECB in halloween candy! The horror! https://twitter.com/FiloSottile/status/1578783337442938882 https://twitter.com/FiloSottile/status/1578783337442938882
- mirages 4y agoWhy does a diagonal pattern appears when doing that kind of encryption ?
- rhn_mk1 4y agoI'm guessing that the block size is a power of 2, but it's not divisible by 3, meanwhile the pixel size (and so the line width) is divisible by 3. Misalignments in a line will cause diagonal patterns.
- woodruffw 4y agoCorrect: at least for the recreated version[1], the blocksize is 128 but the pixels are uncompressed 24-bit RGB values. So you end up with 5.33 (repeating) pixels per block, which makes running spans of of the same color transform into runs of a different color with a little bit of "noise" (always the same) at the end. Do that enough and wrap it around at the width, and you end up with a diagonal/houndstooth-like pattern. [1]: https://words.filippo.io/the-ecb-penguin/ https://words.filippo.io/the-ecb-penguin/
- woodruffw 4y agoThey're almost certainly using 3DES in some products, since it's still a standard choice for PCI encryption.
- deleted 4y ago[deleted]
- tkhattra 4y agoironically, it was Microsoft cryptographer Marsh Ray who said "Everybody knows ECB mode is bad because we can see the penguin." [1] [1] Serious Cryptography, Jean-Philippe Aumasson