Event JSON
{
"id": "da815609b55bd707ccd80253fa89125029ea57b6beb0c952573fa902c32bd8ed",
"pubkey": "eaab6f3712ef449bb28a3bf4248a84a66ca922bcd3806859630a4b1ba570981d",
"created_at": 1727225236,
"kind": 1,
"tags": [
[
"t",
"cryptography"
],
[
"imeta",
"url https://files.mastodon.online/media_attachments/files/113/195/432/529/393/052/original/71dac610978670ce.png",
"m image/png"
],
[
"imeta",
"url https://files.mastodon.online/media_attachments/files/113/195/432/848/267/616/original/f5cd091f3427a926.png",
"m image/png"
],
[
"t",
"aes"
],
[
"t",
"openssl"
],
[
"proxy",
"https://mastodon.online/@JensHannemann/113195433119826239",
"web"
],
[
"proxy",
"https://mastodon.online/users/JensHannemann/statuses/113195433119826239",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.online/users/JensHannemann/statuses/113195433119826239",
"pink.momostr"
],
[
"-"
]
],
"content": "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.\n\n#Cryptography #AES #OpenSSL\n\nhttps://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#ECB\nhttps://files.mastodon.online/media_attachments/files/113/195/432/529/393/052/original/71dac610978670ce.png\nhttps://files.mastodon.online/media_attachments/files/113/195/432/848/267/616/original/f5cd091f3427a926.png\n",
"sig": "2ef4ee84a54dcb707f59f009e6b2da35a50456b5870f8a77a4c731c63bf7e3978ebbbf1f232ea6e39285dc4bdaca97d9c6b27dc230eef0f93e1f12e34712d1f7"
}