Answered step by step
Verified Expert Solution
Link Copied!

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 CBC-MAC (pages 325-526 in textbook) for a message of 24 bits, A1A2A3(in Hexa).
Assume a block size of 8 bits with an IV = D3(hexa) and key = E4(hexa).
Assume the encryption (and decryption) to be as follows:
If plaintext is LT||RT
Key is LK||RK, where LC, RC, LT, and RT are each 4 bits, then
Ciphertext = LC||RC
LC = LK XOR RT
RC = RK XOR LT
Plaintext and ciphertext are each 8 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 8 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 325-326 Ch-12 of the textbook.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

What is linear transformation? Define with example

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago