Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (20 points) Insecurity of Feistel structure. In this exercise, we consider a 2-round Feistel structure as in Figure 2. PL PR F 1 Ki

image text in transcribed

2. (20 points) Insecurity of Feistel structure. In this exercise, we consider a 2-round Feistel structure as in Figure 2. PL PR F 1 Ki F A K2 CL CR Figure 2: Two-round Feistel structure. 3 pt Let FK : {0,1} + {0,1}l and FKz: {0, 1} + {0,1}l be functions that are indistinguishable from a random function. We will show that given any ciphertext CL||CR, we can obtain the original plaintext PL||PR without knowing the keys Ki and K2. For the setting, we assume we have a device where we can encrypt messages. (a) Give general formulas for C and CR in terms of FK, FK,, P and PR. [Note that they are not the same as in Assignment 2!] (b) We encrypt 0 ||0C on the device and obtain a||5. Express a and b using the formulas from part (a). (c) We encrypt (C FK (0%))||0' on the device and obtain c||d. Explain why we can compute C1 Fk (0). (d) Express c and d using the formulas from (a). (e) Using the result from (d), show how to obtain PR. (f) Find a final encryption to make, so that you can obtain PL. (Hint: You can now use PR.] 3 pt 3 pt 3 pt 3 pt 5 pt 2. (20 points) Insecurity of Feistel structure. In this exercise, we consider a 2-round Feistel structure as in Figure 2. PL PR F 1 Ki F A K2 CL CR Figure 2: Two-round Feistel structure. 3 pt Let FK : {0,1} + {0,1}l and FKz: {0, 1} + {0,1}l be functions that are indistinguishable from a random function. We will show that given any ciphertext CL||CR, we can obtain the original plaintext PL||PR without knowing the keys Ki and K2. For the setting, we assume we have a device where we can encrypt messages. (a) Give general formulas for C and CR in terms of FK, FK,, P and PR. [Note that they are not the same as in Assignment 2!] (b) We encrypt 0 ||0C on the device and obtain a||5. Express a and b using the formulas from part (a). (c) We encrypt (C FK (0%))||0' on the device and obtain c||d. Explain why we can compute C1 Fk (0). (d) Express c and d using the formulas from (a). (e) Using the result from (d), show how to obtain PR. (f) Find a final encryption to make, so that you can obtain PL. (Hint: You can now use PR.] 3 pt 3 pt 3 pt 3 pt 5 pt

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

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

Do you currently have a team agreement?

Answered: 1 week ago