Questions 1–3. The BadAes block cipher has the same block size (128 bits) as AES, the same key size (128 bits) as AES, the same state matrix as AES, and the same key schedule as AES. However, BadAes has only one round consisting of the following three steps, which are the same as in AES: AddRoundKey, SubBytes, ShiftRows. (Note: In AES, the first round subkey is the same as the original key.)
Questions 4–5. Consider the following four-bit S-box. The input bits are labeled X1, X2, X3, X4. The output bits are labeled Y1, Y2, Y3, Y4.
x 0 1 2 3 4 5 6 7 8 9 a b c d e f S[x] 5 7 e d 9 3 c 1 0 a f 8 6 b 2 4
Put your answers in a plain text file named "<username>.txt", replacing <username> with the user name from your Computer Science Department account. Send your plain text file to me by email at firstname.lastname@example.org. Include your full name and your computer account name in the email message, and include the plain text file as an attachment.
I will send you an acknowledgment email when I receive your submission. If you have not received a reply within one day, please contact me. Your homework is not successfully submitted until I have sent you an acknowledgment.
The submission deadline is Friday, March 9, 2018 at 11:59pm. The date/time at which your email message arrives in my inbox will determine whether your homework meets the deadline.
You may submit your homework multiple times up until the deadline. I will keep and grade only the most recent successful submission. There is no penalty for multiple submissions.
If you submit your homework before the deadline, but I do not accept it (e.g. a plain text file was not attached to your email), and you cannot or do not submit your homework again before the deadline, the homework will be late (see below). I STRONGLY advise you to submit the homework several days BEFORE the deadline, so there will be time to deal with any problems that might arise in the submission process.
Each homework question will be graded as follows,
for a total of 10 points:
2 = Correct
1 = Partially correct
0 = Incorrect or missing
After grading your homework I will put your grade and any comments I have in your encrypted grade file. For further information, see the Course Grading and Policies and the Encrypted Grades.
If I have not received a successful submission of your homework by the deadline, your homework will be late and will receive a grade of zero. There will be no extensions for homeworks.
The homework must be entirely your own individual work. I will not tolerate plagiarism. If in my judgment the homework is not entirely your own work, you will automatically receive, as a minimum, a grade of zero for the assignment. See the Course Policies for my policy on plagiarism.