Question: We use AES - CBC to encrypt a message ( M ) and get two ciphertext blocks ( in hexadecimal format ) :
We use AESCBC to encrypt a message M and get two ciphertext blocks in hexadecimal format:
The initialization vector IV is
fa b a da b ba
The first ciphertext block is
ec f ee b e f c cd b
The second ciphertext block is
ef d a b
If we use AESECB to decrypt the two ciphertext blocks, we obtain:
e a ef b d e a bf d a
c e a a b ef f cf c b f
a Due to transmission error, the first byte of the first ciphertext block is changed from ec to b We decrypt the ciphertext using AESCBC, what are the first two bytes of the second plaintext block after decryption?
b Due to transmission error, the first byte of the IV was changed from to but there is no error in the ciphertext blocks. We decrypt the ciphertext using AESCBC what are the first two bytes of the first plaintext block after decryption? What are the first two bytes of the second plaintext block after decryption?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
