Thank you
Please show all work
Thanks
76.)
[ 10 pts ] Consider the two S-boxes S1 and S2 of DES shown. Three hex digits (12 bits) are provided to these two S boxes. The higher order six bits are fed to S1 and the lower order six bits are fed to S2. For the six bits input to S1, the first and last bits are used to select the row, and the middle four bits are used to select the column. Note that each S box has four rows numbered 0, 1, 2, and 3 and sixteen columns numbered 0 to 15. So, two bits are sufficient to select a row, as 22 = 4 and four bits are sufficient to select a column, as 24 = 16. The output from each S box is a four bit binary number, which means that the output from each S box ranges from 0 to 15. You must express the output of the S-boxes in hexadecimal, even though the table values are in decimal.
S1 |
C0 |
C1 |
C2 |
C3 |
C4 |
C5 |
C6 |
C7 |
C8 |
C9 |
C10 |
C11 |
C12 |
C13 |
C14 |
C15 |
R0 |
0 |
15 |
7 |
4 |
14 |
2 |
13 |
1 |
10 |
6 |
12 |
11 |
9 |
5 |
3 |
8 |
R1 |
4 |
1 |
14 |
8 |
13 |
6 |
2 |
11 |
15 |
12 |
9 |
7 |
3 |
10 |
5 |
0 |
R2 |
14 |
4 |
13 |
1 |
2 |
15 |
11 |
8 |
3 |
10 |
6 |
12 |
5 |
9 |
0 |
7 |
R3 |
15 |
12 |
8 |
2 |
4 |
9 |
1 |
7 |
5 |
11 |
3 |
14 |
10 |
0 |
6 |
13 |
S2 |
C0 |
C1 |
C2 |
C3 |
C4 |
C5 |
C6 |
C7 |
C8 |
C9 |
C10 |
C11 |
C12 |
C13 |
C14 |
C15 |
R0 |
15 |
1 |
8 |
14 |
6 |
11 |
3 |
4 |
9 |
7 |
2 |
13 |
12 |
0 |
5 |
10 |
R1 |
13 |
8 |
10 |
1 |
3 |
15 |
4 |
2 |
11 |
6 |
7 |
12 |
0 |
5 |
14 |
9 |
R2 |
3 |
13 |
4 |
7 |
15 |
2 |
8 |
14 |
12 |
0 |
1 |
10 |
6 |
9 |
11 |
5 |
R3 |
0 |
14 |
7 |
11 |
10 |
4 |
13 |
1 |
5 |
8 |
12 |
6 |
9 |
3 |
2 |
15 |
Determine the hexadecimal output for the following input: AF716
AF716 = ______________________ 2
Input to S1 = __________________ 2
So, the row selector = row no. ____________10
And the column selector = column no. ____________10
Thus, the output from S1 = ____________16
Input to S2 = _________________2
So, the row selector = row no. ____________10
And the column selector = column no. ____________10
Output from S2 = ____________16
Hence, the output is ____________16
Thank you Please show all work Thanks 76.) [ 10 pts ] Consider the two S-boxes...
2 3 S1 0 1 0 114 4 13 1 0 15 7 2 4 1 14 3|15 12 8 4 5 6 7 8 9 10 11 12 13 14 15 1 2 15 11 8 3 10 6 12 5 9 0 7 4 14 2 13 1 10 6 12 11 9 5 3 8 8 13 6 2 11 15 12 9 7 3 10 5 0 2 4 9 1 7 5 11 0 6...
Please show me the work and formulas in the assigned cells. Thank you. C D E On the cell B5 enter your PV, on cell B6 the annual retum rate on cell B7 the months of the year, and on the cell B9 calculate the monthly rate. On column C have the years, on column D the months of the year and on column E the periods. Calculate on column F the amount that you will have in your account...
QUESTION 10 Inside the mangler function of DES, the input to an S table is 001001. What is the output (in decimal number)? 0 1 3 5 6 8 9.... 15 2 4 7 0 14 4 في 1 2 15 | 11 24 درة 0 15 7 4 14 مها 1 10 N 2 4 1 14 8 13 6 2 11 15 3 15 - 12. 8 2 4 9 7 5
please show all the work. if you use excel please show the screenshots. Thank you ! Question 5 (25pts) Suppose the athletic director at a university would like to develop a regression model to predict the point differential for games played by the men's basketball team. A point differential is the difference between the final points scored by two competing teams. A positive differential is a win, and a negative differential is a loss. For a random sample of games,...
C++ Lab 11 – Is This Box a Magic Box? Objectives: Define a two dimensional array Understand how to traverse a two dimensional array Code and run a program that processes a two dimensional array Instructions: A magic square is a matrix (two dimensional arrays) in which the sum of each row, sum of each column, sum of the main diagonal, and sum of the reverse diagonal are all the same value. You are to code a program to determine...
Question 17 3 pts Refer to Table 4-1. c D E 1 2 3 A Price $12 $10 $8 $6 $4 $2 B D 5 8 11 13 16 18 S 19 17 15 13 11 9 4 S2 14 12 10 8 9 12 15 18 21 24 5 6 7 4 Table 4-1 Suppose that D1 and S1 are the prevailing demand and supply curves for a product. If the demand schedule changes from D1 to D2, then:...
Please show all the steps. I am using office 360. Thank you! A B C D E F G H 1 1 2 Inventory Turnover 3 5 4 5 6 7 8 9 10 11 12 13 14 15 16 Item AB101 XY200 CG231 HA882 ZZ750 LLOO2 PY552 JJ120 JA221 RJ061 Turnover 12.5 20.1 8.2 1.1 2.1 3.6 10.9 18.2 11.7 5.2 Required: Apply the 5 Quarters Icon Sets formatting to the Turnover column. 17 B17 A В с D...
For C++ Write a program that randomly generates 100 integers and sorts them using radix sort. Note: Your output would not be the same as this sample output due to the randomness. Sample output: 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 4 4 4 4 4 4 4 4 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7...
Write a method named printGrid that accepts two integer parameters rows and cols. The output is a comma-separated grid of numbers where the first parameter (rows) represents the number of rows of the grid and the second parameter (cols) represents the number of columns. The numbers count up from 1 to (rows x cols). The output are displayed in column-major order, meaning that the numbers shown increase sequentially down each column and wrap to the top of the next column...
Write a method named printGrid that accepts two integer parameters rows and cols. The output is a comma-separated grid of numbers where the first parameter (rows) represents the number of rows of the grid and the second parameter (cols) represents the number of columns. The numbers count up from 1 to (rows x cols). The output are displayed in column-major order, meaning that the numbers shown increase sequentially down each column and wrap to the top of the next column...