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
a. Show how you represent each box as a table.
b. Show the inversion of each box as a table.
Transcribed Image Text:
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 bo b7 b6 bs b4 b3 b2 bibo b7 b6 bs b4 b3|b2b||bo bbb bob7 be bs b4 b7 b6 bs b4 b3 b2 b1 bo b7 b6 bs b4 b3 b2b bo Swap Split Combine
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 42% (7 reviews)
As we said about the keys for the transposition cipher permutation boxes Pboxes can be represented b...View the full answer
Answered By
HARSH RANJAN
Taken classes at college to graduates, Also worked as an expert to a freelancer online question-solving portal for more than 8 months with an average rating greater than 4.2 out of 5.
5.00+
1+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Write a program to simulate the distance-vector algorithm (Table 20.1). for (y = 1 to N) { if (y is a neighbor) D[y] = c[myself][y] else 10 D[y] = 0 11 } send vector {D[1], D[2], ..., D[N]} to all...
-
Write a program to simulate the path-vector algorithm (Table 20.3). Table 20.3 Path-vector algorithm for a node 1 Path_Vector_Routing ( ) 2 { // Initialization for (y = 1 to N) 3 { if (y is myself)...
-
Write a program to simulate the sending-site FSMs for the simple protocol (Figure 23.18). Figure 23.18 FSMS for the simple protocol Request came from application. Packet arrived. Make a packet and...
-
Develop a data type ResizingArrayQueueOfStrings that implements a queue with a fixed-length array in such a way that all operations take constant time. Then, extend your implementation to use a...
-
Critically examine the usefulness or not to marketers of Holbrook and Hirschman's Hedonic and Experiential theory of buyer behaviour. Contrast this with the more traditional ELM.
-
The IASB Web site can be found at www.iasb.org. Access the Web site and click on the link at the top of the page for Current Projects. On the Current Projects page, click on the IASB link. You may...
-
True or false: If you construct a sample by selecting every sixth earthquake depth from the list given in Data Set 16, the result is a simple random sample. Data Set 16: Earthquake Measurements Fifty...
-
Scott Investors, Inc., is considering the purchase of a $360,000 computer with an economic life of five years. The computer will be fully depreciated over five years using the straight-line method....
-
Ahmet sees a Facebook Marketplace post from Trinity selling a used weed trimmer for $20. Just to the right, Ahmet notices a targeted ad from a hardware store chain offering a new weed trimmer for...
-
a. The list of prohibited items in the court [is/are] posted at the entrance. b. The witnesses, Joe Friel and Bob Blaze, [arrive/arrives] by plane this afternoon. c. Neither Judge Mack or Judge...
-
The circular shift operation is one of the components of the modern block ciphers. a. Show the result of a 3-bit circular left shift on the word (10011011) 2 . b. Show the result of a 3-bit circular...
-
A permutation block (P-box) in a modern block cipher is an example of a keyless transposition cipher. What does this statement mean? (See Figure 31.8 in the text.) Figure 31.8 2 3. 2 Straight...
-
1. What kinds of organizing and controlling problems is Achieva suffering from? 2. What kinds of management changes need to be made to solve them?
-
Obesity prevention practices in early care and education settings: an adaptive implementation Authors-Swindle T Rutledge JM Selig JP Painter J Zhang D Martin J Johnson SL Whiteside-Mansell L Almirall...
-
What is household wealth or net worth in the United States. How wealthy are we as a country (see Federal Reserve - Financial Accounts of the United States Z.1) (Answer to be at least a Paragraph)
-
How to determine ACA and TCSA of the entity? Provide example to explain your answer
-
After world war II, young Tucker tried to break in the automobile business with his original "Tucker Torpedo" automobile.(You should see the movie"Tucker") But the Big three automobile makers(GM,...
-
4. (20 points) You are starting a small business to sell toys. The demand for toys are unlimit and far exceeds your production capacity. The selling price for one toy is $10 and you are price takers...
-
A Christian Philosophical journey by Schenck kenneth In a Word document, respond to all the following questions: How do I know what is true? Can I trust my senses? Can I trust my mind? Does God...
-
Which one of the following anhydrous chloride is not obtained on direct heating of its hydrated chloride? (A) BaCl2 (B) CaClz (C) MgCl2 (D) SrCl2
-
Explain what happens when a C# app attempts to divide one integer by another. What happens to the fractional part of the calculation? How can you avoid that outcome?
-
Describe the two ways in which control statements can be combined.
-
What type of iteration would be appropriate for calculating the sum of the first 100 positive integers? What type of iteration would be appropriate for calculating the sum of an arbitrary number of...
-
3. Draw the logic diagram of the SOP minimized circuit 4. Use De Morgan's theorems to express the simplest SOP in terms of NAND operators. 5. Use the Karnaugh map method to find the simplest...
-
1. Consider the modification of the master-slave latch pair given in Fig. 1. a) Under a regularly changing clock CK, specify the sequence y1, 92, 93, 94 of output signals appearing at Q at the end of...
-
3.99 Write ARM assembly code to implement the following C statements, assuming all variables are 32-bit integers and a declaration of x[10], y[10]: for i=0; i < 10; i++) x[i] = 10 -1; v[9 - i] = 1;
Study smarter with the SolutionInn App