Member-only story
Eve The Magician Breaks AES, Again!
And, so, after a long time, Eve The Magician takes to the stage again, and says,
“Today, I will break AES encryption. Do you believe that AES is the best encryption that you can find?”.
The audience replies with a resounding “Yes!!!!”.
“I have Trent in the side wings to make sure that I do everything correct”. Eve introduces Trent to the stage, and who takes a bow. If there’s one person that the audience trust, it’s Trent.
“Well, I will break it tonight, and and change one dollar into two. All I need is some pixie dust, and my magic powers!”
The crowd gasp, and some even faint with surprise. First, she asks Bob to come up to the stage, and announces, “Now Bob, I am going to make one dollar into two. First, write a message as plaintext of ‘Pay Bob 1 dollar’”.
Bob as gulable as ever, does what Eve says. Eve then tells Bob, “Now I want you to encrypt the message with AES encryption and your own password. Don’t show me your password, and I will also not have any access to the encryption key that you use.”
And, so Bob selects a password of “bob123” using using a key derivation of PBKDF2 (just to make it even more difficult for Eve), and ciphers with OpenSSL to give:
echo "Pay Bob 1 dollar" | openssl enc -k…