Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider a new block cipher, DES2, that consists only of two rounds of the Feist

ID: 3585632 • Letter: C

Question

Consider a new block cipher, DES2, that consists only of two rounds of the Feistel structure (com- pared to 16 rounds for the noemal use of DES). DES2 has the same block and key size as DES. For this question, you should consider the DES round function F as a black box that takes two inputs, a 32-bit data segment and a 48-bit round key, and produces a 32-bit output. Do not look inside the S-boxes for this problem Suppose you have a large number of plaintext-ciphertext pairs for DES2 under a single unknown key. Give an algorithm for recovering the 48-bit round key for round 1 and the 48-bit round key for round 2. Your algorithm should require fewer operations than an exhaustive search for the entire 56-bit DES key.

Explanation / Answer

Equations of DES2 after first round:

L1=R0
R1=L0 F(R0, K0)

Equations of DES2 after first round:

L2=R1=L0F(R0,K0)
R2=L1F(R1,K1)

We can intercept the channel and find out L2, R2 and we have R0, L0.

Since L2=R1 and L1=R0, we have all the data except for F(R0, K0) and F(R1,K1) and we have two equations and two variables, so we can solve and find out the two values.

In this way, we can get the round keys.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote