250+ TOP MCQs on The AES Algorthm and Answers

Cryptography Inteview Questions freshers on “The AES Algorithm”.

1. How many step function do Round 1 and 2 each have in S-AES?
a) 4 and 3
b) Both 4
c) 1 and 4
d) 3 and 4

Answer: a
Clarification: Round 1 has four step functions whereas Round 2 has three step functions.

2. For a key 25D5 and PT input A479 what is the output we obtain after the “add round key” function?
a) F34D
b) 81AC
c) 79DF
d) 327D

Answer: b
Clarification: Simply apply XOR to the state matrix PT with the key matrix to obatain the output which in this case is 81AC.

3. The output of the previous question, on passing through “nibble substitution” gets us the output
a) 3267
b) 1344
c) 64C0
d) CA37

Answer: c
Clarification: 81AC after passing through the “nibble substitution” round produces an output 64C0. A corresponding substitution is referred to in this step.

4. The output of the previous question on passing through the “shift row” step function gives us the output
a) C046
b) 0C64
c) 64C0
d) 640C

Answer: b
Clarification: 64C0 after passing through the “shift row” round produces an output 640C. A one nibble shift is performed in the second row in this step.

5. The output of the previous question on passing through the “mix columns” step function gives us the output
a) 3252
b) 3743
c) 3425
d) 3473

Answer: d
Clarification: 64C0 after passing through the “mix columns” round produces an output 3473. This is obtained by multiplying this matrix with the matrix 1441.

6. Which function can be used in AES multiplication
a) m(x)=x7+x4+x3
b) m(x)=x8+x4+x3+x+1
c) m(x)=x8+x3+x2+x+1
d) m(x)=x8+x5+x3+x

Answer: b
Clarification: m(x)=x8+x4+x3+x+1 stands for 100011011 which is an irreducible polynomial. Others are not irreducible polynomials.

7. The inverse transformation matrix times the forward transformation matrix equals the identity matrix.
a) True
b) False

Answer: c
Clarification: The statement is true. The inverse transformation matrix times the forward transformation matrix does equal the identity matrix.

8. Which of the following are true
i) In the AES key expansion algorithm, the function g() operates on w i+3
ii) Perform a one-byte right circular rotation on the argument 4-byte word
iii) The round constant follows the formula RC[j] = RC[j − 1]

a) i) ii)
b) ii) only
c) i) only
d) All

Answer: c
Clarification: Only the first option is true. There is a left circular rotation in AES key expansion. RC[j] = 2 × RC [j − 1] is the formula for the round constant.

9. How many round keys are generated in the AES algorithm?
a) 11
b) 10
c) 8
d) 12

Answer: a
Clarification: 11 round keys are generated. One for each of the 10 rounds and one of the initial permutations (Round 0).

Leave a Reply

Your email address will not be published. Required fields are marked *