Score:0

recover plain text from cipher text in AES-128 ECB mode

eg flag

I have a scenario where I do not have the key but I have plaintext 1, ciphertext 1, and ciphertext 2. Ciphertext 2 is built using the same key that was used to build ciphertext 1. Is there somehow a way to decrypt ciphertext 2 to get plaintext 2?

DannyNiu avatar
vu flag
Blockciphers are KPA-secure. No luck.
kelalaka avatar
in flag
Does this answer your question? [Is it possible to find the key for AES ECB if I have a list of plaintext and corresponding ciphertext?](https://crypto.stackexchange.com/questions/63883/is-it-possible-to-find-the-key-for-aes-ecb-if-i-have-a-list-of-plaintext-and-cor) Note that if you have some CTF there might be some tricks like the number of blocks of C1 is way bigger than C2's and you may find similarities ( some block of C1 is equal to some block of C2) on the ciphertext blocks so that you may get some information about the P2. Still the encryption key is safe from you.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.