I present a modified version of AES-ECB. Suppose I want to encrypt the string hello, world. this is a test
. For each block, I use the first eight bytes as my actual message, while the second eight bytes are random. For the last block, I'll pad my first eight bytes deterministically. So my four blocks are (I'll use *
to denote random bytes, and $
to denote deterministic padding):
hello, w********
orld. th********
is is a ********
test$$$$********
Then I encrypt each block with AES to obtain my cipher text.
I know that this encryption scheme is still malleable. Is it still distinguishable under chosen plaintext?