What is Nostr?
Jens Hannemann /
npub1a24…hk3r
2024-09-25 00:47:16

Jens Hannemann on Nostr: So for my cryptography class, I decided to recreate the famous distorted Tux image ...

So for my cryptography class, I decided to recreate the famous distorted Tux image encrypted with a block cipher in electronic codebook mode. I used OpenSSL to encrypt the bitmap file using aes-128-ecb. I replaced the encrypted BMP header with the original one (using a hex editor or the good old dd command), and voila, mission accomplished. I'll probably make this into a video for my YouTube/PeerTube channels. That was fun.

#Cryptography #AES #OpenSSL

https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#ECB


Author Public Key
npub1a24k7dcjaazfhv52806zfz5y5ek2jg4u6wqxsktrpf93hftsnqwskjhk3r