Assume you want to write a program to simulate the permutation boxes in Figure 31.8 in the

Question:

Assume you want to write a program to simulate the permutation boxes in Figure 31.8 in the text.

Figure 31.8

3. 2 3 Straight permutation Compression permutation Expansion permutation Transposition п bits n bits b7 b6 bs b4 b3 b2bi bo A predefined Key (n bits) function Shift left (3 bits) b4 b3 b2 b|bob7 b6 bs m bits n bits Substitution Exclusive-OR Shift b7 b6 bs b4 b3 b2bi

a. Show how you represent each box as a table.
b. Show the inversion of each box as a table.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: