Question

Define a substitution box, So as following table 1 0 3 2 3 2 1 0...

Define a substitution box, So as following table

1 0 3 2
3 2 1 0
0 2 1 3
1 1 3 2

and a substitution scheme that if we denote a 4 bit number as “b1 b2 b3 b4”, the (b1 b4) forms a 2 bit binary number that specifies a row of the above matrix and the (b2 b3) forms another 2 bit binary number that specifies a column of the matrix. The row and column lead to a number in the matrix. Taking the number and translating it into binary, we get the substitution value for the original 4 bit number. Now given a 4 bit 1001, please give the substitute value.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

as given in above question,

consider 4 bit value : 1001

first and last bit is 11 in this case, binary is 3

we can determine this as it specify 3rd row

and middle two bits are 00, and if we convert them in binary,we get 0

and this can be determine as 0th column.

if we substitute the value in above substitution box at 3rd row and 0th column we will get the answer is -----> 1

AND THIS IS OUR SUBSTITUTION VALUE

Add a comment
Know the answer?
Add Answer to:
Define a substitution box, So as following table 1 0 3 2 3 2 1 0...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • We have learned a famous shift cipher called Caesar Cipher. Now if we are given a...

    We have learned a famous shift cipher called Caesar Cipher. Now if we are given a plain test: THE ART OF WARAnd key = 3 (a shift by 3 letters), please give the ciphertext Given an 8 bit block P = 10101111 and a key K = 01101011, please give the result of bitwise XOR between P and K Please give the left 2 shift of the 8 bit text 01100101 Use the given a permutation table 23614857 to define...

  • solution of question d (4 points) Consider the basis of R5 given by with b2 (2,-1,-5,-4,7), b3-(3, 2,-7,-5,9) b4 2,1,4,...

    solution of question d (4 points) Consider the basis of R5 given by with b2 (2,-1,-5,-4,7), b3-(3, 2,-7,-5,9) b4 2,1,4,4,-5) bs (-1,0,1,2,0) The MATLAB code to produce the basis vectors is given by b1 11,0-2-2.3], b2 -12-1.-5-4,7T, b3 13-2-7-5,91, b4 [-2,14.4-5T, b5 1-1,0,1,20 Let S denote the standard basis for R a Find the transition matrix P P,s PB,s b. Use the previous answer to calculate the coordinate matrix of the vector z ( 1,5, 4, 3, 3) with respect...

  • 4. Define the function f(x) = x/(e* – 1) so that f(0) = 1, then the...

    4. Define the function f(x) = x/(e* – 1) so that f(0) = 1, then the Maclaurin expansion of f(x) has a positive radius of convergence. a) When the Maclaurin expansion is expressed in the form B2 B3 3 i=1+ B13 +31 x2 + x3 + ... + x" + ... n! the coefficients B1, B2, B3,... are called the Bernoulli numbers. Substitute the Maclaurin series for et and use polynomial long-division to find the first four Bernoulli numbers. b)...

  • B А 1 Next Dividend (D.) 2 Dividend Growth Rate 3 Stock Price 4 Flotation Cost...

    B А 1 Next Dividend (D.) 2 Dividend Growth Rate 3 Stock Price 4 Flotation Cost 5 Beta 6 Risk-free Rate 7 Expected Market Return 8 Cost of New Common Equity 2.25 4.00% $35.00 6.00% 1.15 2.50% 9.00% ? What is the correct formula for B7 to find the cost of new common equity using the constant growth dividend discount model? =B1/B3*(1-B4))+B2 =B1/(B3"(1-B4))+B2 B5+B4 B6 -B1/B3+B2

  • 1. Four objects are weighed 2 at a time on a spring balance. Denote the 4...

    1. Four objects are weighed 2 at a time on a spring balance. Denote the 4 unknown weights by B1,...,BA. Six observations are made and are expressed in these forms: Y = B: + 32 + €1. Y = B1 + B3 + €2, Y3 = B1 + B1 + €3, Y4 = 32 +33 + €4, Y = B2 + 4 + €5, Y6 = 33 +34 + €6. Assume that €, N (0,0%), i = 1,...,6. (a) Find...

  • Assume that the transition matrix from basis B = {b1, b2, b3} to basis C = {c1, c2, c3} is PC,B = 1/2*[ 0 -1 1 ; -1 1 1 ; 1 0 0 ]. (a) If u = b1 + b2 + 2b3, find [u]C. (b) Calculate PB,C. (c) Suppose...

    Assume that the transition matrix from basis B = {b1, b2, b3} to basis C = {c1, c2, c3} is PC,B = 1/2*[ 0 -1 1 ; -1 1 1 ; 1 0 0 ]. (a) If u = b1 + b2 + 2b3, find [u]C. (b) Calculate PB,C. (c) Suppose that c1 = (1, 2, 3), c2 = (1, 2, 0), c3 = (1, 0, 0) and let S be the standard basis for R 3 . (i) Find...

  • Let 1) a11 x1 + a12 x2 + a13 x3 = b1 2) a21 x1 +...

    Let 1) a11 x1 + a12 x2 + a13 x3 = b1 2) a21 x1 + a22 x 2+ a23 x3 = b2 3) a31 x1 + a32 x 2+ a33 x 3 = b3 SHOW that if det(A) does not equal 0, where det (A) is the determinant of the coefficient matrix, then x2= det(A2)/det(A) where det (A2) is the determinant obtained by replacing the second column of det (A) by (b1, b2, b3) to the power T.

  • Problem 4. Determine if the following sets B1, B2, B3, B4 and Bs are open, closed,...

    Problem 4. Determine if the following sets B1, B2, B3, B4 and Bs are open, closed, compact or connected. (You don't need to prove your findings here) a) B1 =RQ. b) We define the set B2 iteratively: C1 = [0, 1] C2 =[0,1/4] U [3/4, 1] C3 =[0,1/16] U [3/16, 4/16] U [12/16, 13/16] U [15/16, 1] Then B2 = n Cn. NEN c) B3 = U (2-7,3+"). nn +1 NEN d) f:R+R continuous and V CR closed. B4 =...

  • 1. Given a set of numbers: A = {1, 3, 5, 2, 8, 7, 9, 4...

    1. Given a set of numbers: A = {1, 3, 5, 2, 8, 7, 9, 4 }. Add each digit of your N-Number (e.g. N0 0 3 2 2 0 1 8) to each element of A separately to get your own final array B. ( e.g. B={1,3,8,4,10,7,10,12} = {B1,B2,B3,B4,B5,B6,B7,B8}. ) a) Your set B = ? b) Use merge-sort to sort the array B. Show each step. c) How many “comparisons” for each algorithm above? 2. Use binary-search for...

  • 3. Create a MATLAB script or function that takes converts a 10-element array, B, of zeros...

    3. Create a MATLAB script or function that takes converts a 10-element array, B, of zeros and ones and converts it into a floating point number, F, using the following rules: 1. The leading bit indicates a positive (0) or negative (1) number ii. Bits 2 through 4 are the binary representation of e, the exponent Ill Bits 5 through 10 represent the number precision as: (sign).(1 + bit5.2-1 + bith. 2-2 + ... + bit10.2-6). 2-3 iv. Finally, if...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT