Question

Suppose we apply the Mix Columns operation to a *column* vector [0x63,0x62,0x61,0x60]T (given with bytes in...

Suppose we apply the Mix Columns operation to a *column* vector [0x63,0x62,0x61,0x60]T

(given with bytes in hex).

What are the entries of the resulting column (in decimal)?

Homework Answers

Answer #1

The input array is called the state array - [0x63,0x62,0x61,0x60]T.

To do the Mix Column operation, we need to do the following:

Note that all multiplications are performed in GF(28) and the additions are just XOR. The resulting array is a four element column vector.

First Element=(02*0x63)+(03*0x62)+(01*0x61)+(01*0x60)

=11000110+100100110+1100001+1100000

=1010101101(decimal=685)

Second Element=(01*0x63)+(02*0x62)+(03*0x61)+(01*0x60)

=1100011+11000100+100100011+1100000

=1010101010(decimal=682)

Third Element=(01*0x63)+(01*0x62)+(02*0x61)+(03*0x60)

=1100011+1100010+11000010+100100000

=1010100111(decimal=679)

Fourth Element=(03*0x63)+(01*0x62)+(01*0x61)+(02*0x60)

=100101001+1100010+1100001+11000000

=1010101100(decimal=684)

So the resulting column is [685,682,679,684]

Know the answer?
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
Similar Questions
Suppose we do a row operation followed by a (possibly different) column operation on a matrix....
Suppose we do a row operation followed by a (possibly different) column operation on a matrix. Examine what happens if we decide to do these two operations in the opposite order.
4. Suppose that we have a linear system given in matrix form as Ax = b,...
4. Suppose that we have a linear system given in matrix form as Ax = b, where A is an m×n matrix, b is an m×1 column vector, and x is an n×1 column vector. Suppose also that the n × 1 vector u is a solution to this linear system. Answer parts a. and b. below. a. Suppose that the n × 1 vector h is a solution to the homogeneous linear system Ax=0. Showthenthatthevectory=u+hisasolutiontoAx=b. b. Now, suppose that...
Suppose V and W are two vector spaces. We can make the set V × W...
Suppose V and W are two vector spaces. We can make the set V × W = {(α, β)|α ∈ V,β ∈ W} into a vector space as follows: (α1,β1)+(α2,β2)=(α1 + α2,β1 + β2) c(α1,β1)=(cα1, cβ1) You can assume the axioms of a vector space hold for V × W (A) If V and W are finite dimensional, what is the dimension of V × W? Prove your answer. Now suppose W1 and W2 are two subspaces of V ....
Suppose that we have identified three important systematic risk factors given by exports, inflation, and industrial...
Suppose that we have identified three important systematic risk factors given by exports, inflation, and industrial production. In the beginning of the year, growth in these three factors is estimated at -1%, 2.5%, and 3.5% respectively. However, actual growth in these factors turns out to be 1%, -2%, and 2%. The factor betas are given by bEX = 1.8, bI = 0.7, and bIP = 1.0. The company announces that they had an industrial accident and the operating facilities will...
A6-9. Suppose the aggregate production function for an economy is given by Y* = (T+H)K1/2L1/2, where...
A6-9. Suppose the aggregate production function for an economy is given by Y* = (T+H)K1/2L1/2, where Y* is potential GDP, T is the average level of technology, H is the average level of human capital, K is the capital stock and L is the labour force. Assume initially that both T and H equal 5, and that both K and L equal 64. Assume that the population grows at the same rate as any growth in the labour force so...
Suppose the makers of M&M candies give the following average percentages for the mix of colors...
Suppose the makers of M&M candies give the following average percentages for the mix of colors in their bags of plain chocolate M&M's. Stated Distribution of Colors Brown Yellow Red Orange Green Blue    Percent      30%   20%   20%   10%   10%   10%    Now, you randomly select 200 M&M's and get the counts given in the table below. You expected about 20 blues but only got 8. You suspect that the maker's claim is not true. Observed Counts by Color...
Question 1. Naive Bayes and Laplace smoothing. We are given a set of keywords that presumed...
Question 1. Naive Bayes and Laplace smoothing. We are given a set of keywords that presumed to be informative about a news site article and whether it is about sports, business or another subject. These words are {NFL, inflation, Trump, pitcher, stocks, England, Florida, storm}. In the following table, we have information about whether these keywords appeared in a training set of news site articles, along with their categories. The table also includes a column about the length of each...
For an ideal solution, we discussed in class that the chemical potential is given by: μ=μ_0+RT...
For an ideal solution, we discussed in class that the chemical potential is given by: μ=μ_0+RT "ln" (c/c_0 ) where the units of µ written in this form are Joules/mole. The concentration c_0 is a reference concentration, which we will take to be 1 Molar for this problem. Suppose solution 1 with solute concentration of 1 mM (i.e., 1 x 10-3 Molar) is in contact with solution 2 with solute concentration of 0.1 mM (i.e., 1 x 10-4 Molar). If...
Suppose we modify the production model to obtain the following mathematical model: Max     14x s.t. ax...
Suppose we modify the production model to obtain the following mathematical model: Max     14x s.t. ax ≤ 38 x ≥ 0 where a is the number of hours of production time required for each unit produced. With a = 5, the optimal solution is x = 7.6. If we have a stochastic model with a = 3, a = 4, a = 5, or a = 6 as the possible values for the number of hours required per unit, what...
M&M's Color Distribution: Suppose the makers of M&M candies give the following average percentages for the...
M&M's Color Distribution: Suppose the makers of M&M candies give the following average percentages for the mix of colors in their bags of plain chocolate M&M's. Stated Distribution of Colors Brown Yellow Red Orange Green Blue Percent   30%   20%   20%   10%   10%   10% Now, you randomly select 200 M&M's and get the counts given in the table below. You expected about 20 blues but only got 9. You suspect that the maker's claim is not true. Observed Counts by Color...