Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The S-boxes of the Feistel cipher are designed to support the avalanche criterion. In particular, by flipping one bit of the input of an S-box,

The S-boxes of the Feistel cipher are designed to support the avalanche criterion. In particular, by flipping one bit of the input of an S-box, on average, at least two bits of the output will flip. This exercise wants you to show this for particular values. To help you, we first illustrate this for one input; you then must show this for another input. In both cases, assume that all round keys are: 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 (48 bits)

a. Case 1 (illustration): Let the input be: 1000 0000 0000 0000 0000 0000 0000 0001 (32 bits) The table below is used to expand it.

image text in transcribed

110000 000000 000000 000000 000000 000000 000000 000011 (48 bits) The result is XORed with the key round key to get 001111 111111 111111 111111 111111 111111 111111 111100 (48 bits) Then we use the substitution below

image text in transcribed

to get: 0001 1101 1101 1101 1101 1101 1101 0101 (*) This is the 32-bit output. Next flip the first bit of the input, to get 0000 0000 0000 0000 0000 0000 0000 0001 expand it to, 100000 000000 000000 000000 000000 000000 000000 000010 (48 bits) XOR it with the round key to get, 011111 111111 111111 111111 111111 111111 111111 111101 (48 bits) and then use the substitution above to get 1000 1101 1101 1101 1101 1101 1101 0110 (**) This is the output. Notice that one flipped bit in the input of the first S-Box has caused 2 bits to flipped in the output of the first substitution and anther 3 bits in the output of the last substitution. b. Case 2. Now do this for input (same round key): 1100 0000 0000 0000 0000 0000 0000 0001 and then flip the third bit to see how many bits get flipped in the output. Show all your work, and dont forget to count the number of flipped bits.

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions