Question: Compute CBC - MAC ( pages 3 2 5 - 5 2 6 in textbook ) for a message of 2 4 bits, A 1
Compute CBCMAC pages in textbook for a message of bits, AAAin Hexa
Assume a block size of bits with an IV Dhexa and key Ehexa
Assume the encryption and decryption to be as follows:
If plaintext is LTRT
Key is LKRK where LC RC LT and RT are each bits, then
Ciphertext LCRC
LC LK XOR RT
RC RK XOR LT
Plaintext and ciphertext are each bits. Similarly, to decrypt ciphertext, we perform exactly the reverse operation
LT RC XOR RK
RT LC XOR LK
Hint: Divide the message into blocks of bits each; XOR each block with the previous cipher output; then encrypt this with the key.
For the first block, XOR it with IV Details in pages Ch of the textbook.
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
