Task 1 You need check the diffusion properties of AES after a single round. 1)Let W = (w0, w1, w2, w3) = (0x01000000, 0x00000000, 0x00000000, 0x00000000) be the input in 32-bit chunks to a 128-bit AES. 2) The subkeys for the computation of the result of the first round of AES are W0, ..., W7 with 32 bits each are given by W0 = (0x2B7E1516), W1 = (0x28AED2A6), W2 = (0xABF71588), W3 = (0x09CF4F3C), W4 = (0xA0FAFE17), W5 = (0x88542CB1), W6 = (0x23A33939), W7 = (0x2A6C7605). Use the main textbook to figure out how the input is processed in the first round (e.g., S-Boxes). For the solution, you might also want to write a short computer program or use an existing one (You need to clearly reference if you use a ready code, otherwise a penalty deduction from the grade will be applied). In any case, indicate all intermediate steps for the computation of [ShiftRows, SubBytes and MixColumns] 1. Compute the output of the first round of AES to the input W and the subkeys W0, ..., W7. 2. Compute the output of the first round of AES for the case that all input bits are zero. 3. How many output bits have changed?
Added by Joshua K.
Close
Step 1
Compute the output of the first round of AES for the input W and the subkeys W0, ..., W7. The first round of AES consists of the following steps: SubBytes, ShiftRows, MixColumns, and AddRoundKey. - SubBytes: This step involves replacing each byte of the state Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 95 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Akash M.
(a) A Vigenere cipher with encryption key DELTA has been used to produce the ciphertext ZLPKEDQT. What was the plaintext? The following table is provided for your convenience: (bi) Alice wants to digitally sign the message [4,5] with the help of RSA. She uses the public key (91,29) and a private key 5. Compute the signed message. (bii) With the same RSA digital signature as in part (bi), Bob received the signed message [10] from Alice. What was the initial message? (c) Alice and Bob want to create a shared secret number with the help of the Diffie-Hellman protocol. Bob receives the triple (127,6,17) from Alice. Then he chooses the private key 3 and sends Alice the number 89. Compute.
Sri K.
Suppose that the letters J, U, S and T were assigned the numbers 2, 3, 4 and 5, respectively. Use the RSA described in the class to do the following: a. Choose p = 3 and q = 11, encode the phrase "JUST". b. Apply the decryption algorithm to the encrypted version to recover the original plain text message. Based on the following assigned table answer questions 2 and question 3. Use the shift cipher described in the class to encrypt text "We are Trojans". The key (k) is 5. Use the shift cipher described in the class to decrypt ciphertext "frpsxwhu". The key size is 3. Implement the shift cipher algorithm introduced in the class using MATLAB. Submit the source codes program, test cases, and the results of test runs. Upload the m-file in Blackboard in the same attempt.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD