Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started