Question: CSCI 4 6 1 3 / 5 6 1 3 - Assignment 3 The AES internal state consists of 1 6 bytes b 0 through

CSCI 4613/5613- Assignment 3
The AES internal state consists of 16 bytes b0 through b15 arranged in a 4 by 4 grid:
Given 16-byte plaintext blocks P and P' that are identical except for byte b9, answer
the following questions about AES encryption. (2 points each)
(a) Let A and A' be the result of putting P and P' through the initial
AddRoundKey operation. Which bytes are different between A and A'?
(b) Let B and B' be the result of putting A and A' through the first-round
SubBytes and ShiftRows operations. Which bytes are different between B
and B'?
(c) Let C and C' be the result of putting B and B' through the first-round
MixColumns and AddRoundKey operations. Which bytes are different
between C and C'?
(d) Let D and D' be the result of putting C and C' through the second-round
SubBytes and ShiftRows operations. Which bytes are different between D
and D'?
(e) Let E and E' be the result of putting D and D' through the second-round
MixColumns and AddRoundKey operations. Which bytes are different
between E and E'?
Consider a block cipher where the block size is one byte and the encryption (and
decryption) algorithm is XORing the plaintext block with a one-byte key. Given a
plaintext P=badb ad ba db ad and a key K=2b. Encrypt the plaintext using the
following modes of operation: (2 points each)
(a) Electronic codebook (ECB) mode.
(b) Cipher block chaining (CBC) mode with initial value of IV=d8(assume
padding is not used).
(c) Counter (CTR) mode with a four-bit nonce N=1001 and a four-bit counter
that starts at zero.
 CSCI 4613/5613- Assignment 3 The AES internal state consists of 16

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!