Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. (10 points) (a) Give the formulas for CBC mode encryption and decryption (b) Suppose that Alice encrypts plaintext blocks Po, P , Pn using

image text in transcribed
5. (10 points) (a) Give the formulas for CBC mode encryption and decryption (b) Suppose that Alice encrypts plaintext blocks Po, P , Pn using CBC mode to obtain the corresponding ciphertext blocks, Co, Ci,...Cn, which she sends to Bob, along with the corresponding initialization vector (IV). During trans- mission, Trudy changes block Ci to, say, X. Which blocks decrypt correctly? Show your work. (c) Suppose that Alice computes a MAC on plaintext blocks 1, P , . . . , B,. she then sends Bob the plaintext, along with the IV and the MAC. During trans- mission, Trudy changes block P to, say, Y. Show that Bob will almost certainly detect the change. 5. (10 points) (a) Give the formulas for CBC mode encryption and decryption (b) Suppose that Alice encrypts plaintext blocks Po, P , Pn using CBC mode to obtain the corresponding ciphertext blocks, Co, Ci,...Cn, which she sends to Bob, along with the corresponding initialization vector (IV). During trans- mission, Trudy changes block Ci to, say, X. Which blocks decrypt correctly? Show your work. (c) Suppose that Alice computes a MAC on plaintext blocks 1, P , . . . , B,. she then sends Bob the plaintext, along with the IV and the MAC. During trans- mission, Trudy changes block P to, say, Y. Show that Bob will almost certainly detect the change

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago