Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

With the ECB mode, if there is an error in a block of the transmitted ciphertext, only the corresponding plaintext block is affected. However, in

With the ECB mode, if there is an error in a block of the transmitted ciphertext, only the corresponding plaintext block is affected. However, in the CBC mode, this error propagates. Lets study the error propagation for CBC mode.

Given we have a cipher that first flips (i.e. convert 1 to 0 and 0 to 1) and then right shifts two bits (circular shift). If we use this cipher in encryption, then the decryption process would be left shift two bits and do a flip. We use this cipher with CBC mode. Assume we have a plaintext as following: 10101100 01110001 11000101, block size is 8. So the plaintext can be divided into three blocks. IV is 01000111. The basic CBC diagram is shown as following (25 points total)

Find ciphertext based on part (a) of the diagram. (5 points)

Generate the recovered plaintext based on part (b) of the diagram. Show your steps. The recovered plaintext should be same as the original plaintext (5 points)

Assuming No. 7 bit in the plaintext got bit error (i.e. flipped by accident), the plaintext becomes: 10101110 01110001 11000101. For this plaintext, find the ciphertext and the recovered plaintext again. (10 points)

Compare the results of the ciphertext and the recovered plaintext from b and c. How does one-bit difference in the first plaintext block affect the ciphertext result and recovered plaintext result? (5 points)image text in transcribed

Time 1 Time 2 Time N IV K Encrypt K-Encrypt KEncrypt C1 (a) Encryption CI C2 CN K Decrypt K Decrypt K-Decrypt PN (b) Decryption Figure 20.6 Cipher Block Chaining (CBC) Mode

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_2

Step: 3

blur-text-image_3

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

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Eric Redmond ,Jim Wilson

1st Edition

1934356921, 978-1934356920

More Books

Students also viewed these Databases questions

Question

Why does sin 2x + cos2x =1 ?

Answered: 1 week ago

Question

What are DNA and RNA and what is the difference between them?

Answered: 1 week ago

Question

Why do living creatures die? Can it be proved that they are reborn?

Answered: 1 week ago