Question

5. Given the plaintext {000102030405060708090A0B0C0D0E0F) and the key {01010101010101010101010101010101}: a. Show the origina

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

As Given :

The plaintext is {000102030405060708090A0B0C0D0E0F} and

The key is {01010101010101010101010101010101}

a. Show the original contents of State, displayed as a 4x4 matrix.

Answer :

\begin{bmatrix} &00 &04 &08 &0C\\ &01 &05 &09 &0D \\ &02 &06 &0A &0E\\ &03 &07 &0B &0F \end{bmatrix}

b. Show the value of State after initial AddRoundKey.

Answer :

Key = \begin{bmatrix} &01 &01 &01 &01\\ &01 &01 &01 &01 \\ &01 &01 &01 &01\\ &01 &01 &01 &01 \end{bmatrix}

Now, State \oplus Key is :

\begin{bmatrix} &00 &04 &08 &0C\\ &01 &05 &09 &0D \\ &02 &06 &0A &0E\\ &03 &07 &0B &0F \end{bmatrix}   \oplus   \begin{bmatrix} &01 &01 &01 &01\\ &01 &01 &01 &01 \\ &01 &01 &01 &01\\ &01 &01 &01 &01 \end{bmatrix} = \begin{bmatrix} &01 &05 &09 &0D \\ &00 &04 &08 &0C\\ &03 &07 &0B &0F\\ &02 &06 &0A &0E \end{bmatrix}

c. Show the value of State after SubBytes.

Answer :

\begin{bmatrix} &01 &05 &09 &0D \\ &00 &04 &08 &0C\\ &03 &07 &0B &0F\\ &02 &06 &0A &0E \end{bmatrix}  \rightarrow\begin{bmatrix} &7C &6B &01 &D7\\ &63 &F2 &30 &FE \\ &7B &C5 &2B &76\\ &77 &6F &67 &AB \end{bmatrix}

d. Show the value of State after ShiftRows

Answer :

\begin{bmatrix} &7C &6B &01 &D7\\ &63 &F2 &30 &FE \\ &7B &C5 &2B &76\\ &77 &6F &67 &AB \end{bmatrix}  \rightarrow\begin{bmatrix} &7C &6B &01 &D7\\ &F2 &30 &FE &63 \\ &2B &76 &7B &C5\\ &AB &77 &6F &67 \end{bmatrix}

e. Show the value of State after MixColumns

Answer :

\begin{bmatrix} &02 &03 &01 &01\\ &01 &02 &03 &01 \\ &01 &01 &02 &03\\ &03 &01 &01 &02 \end{bmatrix}\begin{bmatrix} &7C &6B &01 &D7\\ &F2 &30 &FE &63 \\ &2B &76 &7B &C5\\ &AB &77 &6F &67 \end{bmatrix} =  \begin{bmatrix} &74 &E7 &0F &A2\\ &55 &E6 &04 &22 \\ &3E &2E &B8 &8C\\ &F6 &15 &58 &0B \end{bmatrix}


answered by: ANURANJAN SARSAM
Add a comment
Answer #3

As Given :

The plaintext is {000102030405060708090A0B0C0D0E0F} and

The key is {01010101010101010101010101010101}

a. Show the original contents of State, displayed as a 4x4 matrix.

Answer :

\begin{bmatrix} &00 &04 &08 &0C\\ &01 &05 &09 &0D \\ &02 &06 &0A &0E\\ &03 &07 &0B &0F \end{bmatrix}

b. Show the value of State after initial AddRoundKey.

Answer :

Key = \begin{bmatrix} &01 &01 &01 &01\\ &01 &01 &01 &01 \\ &01 &01 &01 &01\\ &01 &01 &01 &01 \end{bmatrix}

Now, State \oplus Key is :

\begin{bmatrix} &00 &04 &08 &0C\\ &01 &05 &09 &0D \\ &02 &06 &0A &0E\\ &03 &07 &0B &0F \end{bmatrix}   \oplus   \begin{bmatrix} &01 &01 &01 &01\\ &01 &01 &01 &01 \\ &01 &01 &01 &01\\ &01 &01 &01 &01 \end{bmatrix} = \begin{bmatrix} &01 &05 &09 &0D \\ &00 &04 &08 &0C\\ &03 &07 &0B &0F\\ &02 &06 &0A &0E \end{bmatrix}

c. Show the value of State after SubBytes.

Answer :

\begin{bmatrix} &01 &05 &09 &0D \\ &00 &04 &08 &0C\\ &03 &07 &0B &0F\\ &02 &06 &0A &0E \end{bmatrix}  \rightarrow\begin{bmatrix} &7C &6B &01 &D7\\ &63 &F2 &30 &FE \\ &7B &C5 &2B &76\\ &77 &6F &67 &AB \end{bmatrix}

d. Show the value of State after ShiftRows

Answer :

\begin{bmatrix} &7C &6B &01 &D7\\ &63 &F2 &30 &FE \\ &7B &C5 &2B &76\\ &77 &6F &67 &AB \end{bmatrix}  \rightarrow\begin{bmatrix} &7C &6B &01 &D7\\ &F2 &30 &FE &63 \\ &2B &76 &7B &C5\\ &AB &77 &6F &67 \end{bmatrix}

e. Show the value of State after MixColumns

Answer :

\begin{bmatrix} &02 &03 &01 &01\\ &01 &02 &03 &01 \\ &01 &01 &02 &03\\ &03 &01 &01 &02 \end{bmatrix}\begin{bmatrix} &7C &6B &01 &D7\\ &F2 &30 &FE &63 \\ &2B &76 &7B &C5\\ &AB &77 &6F &67 \end{bmatrix} =  \begin{bmatrix} &74 &E7 &0F &A2\\ &55 &E6 &04 &22 \\ &3E &2E &B8 &8C\\ &F6 &15 &58 &0B \end{bmatrix}

Add a comment
Know the answer?
Add Answer to:
5. Given the plaintext {000102030405060708090A0B0C0D0E0F) and the key {01010101010101010101010101010101}: a. Show the original contents of State,...
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
  • Given the plaintext [0001 0203 0405 0607 0809 0A0B 0C0D 0E0F] and the key [0101 0101...

    Given the plaintext [0001 0203 0405 0607 0809 0A0B 0C0D 0E0F] and the key [0101 0101 0101 0101 0101 0101 0101 0101] a. Show the original contents of state, displayed as a 4x4 matrix. b. Show the value of state after initial AddRoundKey. c. Show the value of State after SubBytes. d. Show the value of State after ShiftRows. e. Show the value of State after MixColumns. Show only the first row for step e.

  • To gain understanding AES, this problem asks you to perform one round of the encryption process....

    To gain understanding AES, this problem asks you to perform one round of the encryption process. Given the following plaintext and key: Plaintext= 00 01 02 03 04 05 06 07 08 09 0A 0A 0C 0D 0E 0F Key = 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 a. Show the original contents of state, displayed as a 4 × 4 matrix. b. Show the value of state after initial AddRoundKey....

  • Please show the initial round (i.e., round 0) when encrypt the following plaintext using AES: (I...

    Please show the initial round (i.e., round 0) when encrypt the following plaintext using AES: (I have shown each step, please fill in each form) Plaintext: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F Key: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 Both plaintext and key are 16 bytes in hexadecimal. a) Original contents of state (hint: please transfer the plaintext block to...

  • AES Encryption M = 2C58FD04C2D8DB1928E11849B997044E K = 8EF8553B444EC546F3AAAF56287AB13F Assignment: AES Encryption This assignment familiarizes you with AES encryption. We are given a 128-bit messag...

    AES Encryption M = 2C58FD04C2D8DB1928E11849B997044E K = 8EF8553B444EC546F3AAAF56287AB13F Assignment: AES Encryption This assignment familiarizes you with AES encryption. We are given a 128-bit message M 2C58FD04C2D8DB1928E11849B997044E (in hexadecimal) and a 128-bit cipher-key K 8EF8553B444EC546F3AAAF56287AB13 (also in hexadecimal). Using AES encryption scheme discussed in class, find the following values. Write your answer in hexadecimal (capital letter) without inserting any space between hexadecimal digits (for example, write "9F2C", not "9f2c" or "9F 2C") 1. In Round 1 of the encryption process, what...

  • Problem 1 Consider the 3-bit block cipher in slide 8-18. Suppose the plaintext is 101101101. If...

    Problem 1 Consider the 3-bit block cipher in slide 8-18. Suppose the plaintext is 101101101. If CBC is used with initial vector 110, what will be the resulting ciphertext? Show work, not just the final answer. Problem 2 Consider RSA with public key (n, e) and private key (n, d) where n = 35, e = 5, and d = 29. What is the encryption of m = 34? What is the decryption of c = 34? Show calculations, not...

  • Array Vs Symbol Table Comparison Code A) B) C) D) What is the key difference between...

    Array Vs Symbol Table Comparison Code A) B) C) D) What is the key difference between an array and a symbol table? Assume you have a bunch of objects containing information about different SER classes and need to store their data somewhere. You could use their course number as a key and then store them into either an array or symbol table - which would be better if you wanted to quickly print out all of the classes? Explain. Show...

  • Given the hash function: H(key) = key/2; Hash table size = 7 and   index = H(key)%...

    Given the hash function: H(key) = key/2; Hash table size = 7 and   index = H(key)% Hash table size Show how the hash table below looks after adding the following (key, value) pairs, (illustrate your strategy for collision handling)   (3000, “A”) (3232, “B”) (1223, “C”) (4569, “K”) (6767, “F”) (1234, “P”) (2324, “F”) (3422, “G”) (1231, “R”) index Key Value 0 1 2 3 4 5

  • The 3D state of stress in a point of an elastic solid is given in the...

    The 3D state of stress in a point of an elastic solid is given in the x-y-z coordinates by: 「200 200 01 [o] 1 200 300 01 Using the matrix transformation law, determine the state of stress at the same point for an element rotated in the x-y plane 30° anticlockwise about the z-axis from its original position. a. b. Calculate the stress invariants and write the characteristic equation for the original state of stress Calculate the deviatoric invariants for...

  • 68 4 64 73 1 5. Matrix C is a coded message where C61 4 52 51 0 109 5 120 170 5 You know that each letter of the original message was first replaced with the number corresponding to its placement in...

    68 4 64 73 1 5. Matrix C is a coded message where C61 4 52 51 0 109 5 120 170 5 You know that each letter of the original message was first replaced with the number corresponding to its placement in the English alphabet (eg. E was replaced with 5) and any spaces in the message were replaced with zeroes. Then the message was encoded by multiplying the message matrix, M, on the left by the coding matrix,...

  • Stack Operation 10. (10 pts.) Show the contents of the stack and affected registers at the two marked points in the exe...

    Stack Operation 10. (10 pts.) Show the contents of the stack and affected registers at the two marked points in the execution of the followin code. Assume RO-0, R1-1, R2-2, R3-3, R4-4, R5-5, and R6-6. The initial value for stack pointer (prior to executing this code block) is given as SP-0x20001000 PUSH R2,R3) ADD R4, R1, Re ;<---A POP R5, R6) ADD R5, R5, R4 ADD R6, R6, R5 PUSH (R4-R6); SUBS Re, RO,R1-B a) Show the contents of Stack,...

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