Question: Problem 2 . Recall that in a Feistel - network based block cipher, the round function F ( x , K i ) takes an

Problem2. Recall that in a Feistel-network based block cipher, the round function F(x,Ki) takes an input x and a round key Ki. Suppose that x is 32-bits and the Feistel network has 4 rounds. Furthermore, suppose that all round keys are 32 bits and the round function is defined as F(x,Ki)=xo+Ki, where o+ denotes bit XOR. We assume that the key for the entire cipher is a concatenation of the 4 round keys, i.e., the cipher key is 4*32=128 bits long.
a. Let the plaintext be L0||R0, where L0 and R0 are 32-bit blocks, and || denotes concatenation. Let the key be K1||K2||K3||K4. Let Li and Ri be the output of the i' th round; then L4||R4 is the ciphertext. Write L4 and R4 in terms of L0,R0,K1,K2,K3,K4.
b. Show that the resulting cipher is insecure again known-plaintext attack by describing an efficient algorithm that can decrypt any encrypted message give one plaintext/ciphertext pair.
Hint: You do not have to recover the key completely to be able to decrypt encrypted messages.
Problem 2 . Recall that in a Feistel - network

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!