Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

How do books become world of wonder?

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago