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.
-
A single link of a robot arm is shown in Figure. The arm mass is m and its center of mass is located a distance L from the joint, which is driven by a motor torque Tm through two pairs of spur gears....
-
The steel bar \(A B\) has a rectangular cross section. If it is pin connected at its ends, determine the maximum allowable intensity \(w\) of the distributed load that can be applied to \(B C\)...
-
Giere Manufacturing's sales slumped badly in 2012. For the first time in its history, it operated at a loss. The company's income statement showed the following results from selling 600,000 units of...
-
As a reminder of the scenario, you have been hired by a mutual fund as a management consultant to evaluate a publicly held company that the fund is considering adding to its holdings. Specifically,...
-
A company makes three types of Concrete. Its concrete A produce $60 in profit per tire, its concrete B $40 a tire, and concrete C $80 for each ton. Each concrete passes through three stages as a part...
-
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...
-
Listed below are numbers of registered pleasure boats in Florida (tens of thousands) and the numbers of manatee fatalities from encounters with boats in Florida for each of several recent years. The...
-
The following is the trial balance of T. Owen as at 31 March 2016. Draw up a set of financial statements for the year ended 31 March 2016. Dr Cr Inventory: 1 April 2015 52,800 Sales 276,400 Purchases...
-
Imagineering, Inc., is considering an investment in CAD-CAM compatible design software with the cash flow profile shown in the table below. Imagineering's MARR is 18 percent/year. a. What is the...
-
The following is a summary of the petty cash transactions of Jockfield Ltd for May 2016: You are required to: (a) Rule up a suitable petty cash book with analysis columns for expenditure on cleaning,...
-
A sample of 20 registered voters was surveyed in which the respondents were asked, Do you think Chang, Johnson, Ohm, or Smith is most qualified to be a senator? The results of the survey are shown in...
-
Commuting to Work The mean of the commute time to work for a resident of a certain city is 28.8 minutes. Assume that the standard deviation of the commute time is 7.1 minutes to complete parts (a)...
-
Model an atom as an electron in a rigid box of length 0.100 nm, roughly twice the Bohr radius. a. What are the four lowest energy levels of the electron? b. Calculate all the wavelengths that would...
-
On January 1, 2017, McIlroy, Inc., acquired a 60 percent interest in the common stock of Stinson, Inc., for $340,200. Stinson's book value on that date consisted of common stock of $100,000 and...
-
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...
-
Martin Company applies manufacturing overhead based on direct labor hours. Information concerning manufacturing overhead and labor for the year is as follows: Actual manufacturing overhead Estimated...
-
$ 719,000 280,000 439,000 150,400 Joyner Company's income statement for Year 2 follows: Sales Cost of goods sold Gross margin Selling and administrative expenses Net operating income Nonoperating...
-
FIFO and LIFO costs under perpetual inventory system The following units of an item were available for sale during the year: Beginning inventory 22 units at $44 Sale 18 units at $62 First purchase 18...
Study smarter with the SolutionInn App