Question: QUESTION 1 (20 marks) Consider an encryption and decryption using Mini-AES as shown in Figure 1. Some detail processes are illustrated in Appendix, respectively. ShifiRow

QUESTION 1 (20 marks) Consider an encryption and decryption using Mini-AES as shown in Figure 1. Some detail processes are illustrated in Appendix, respectively. ShifiRow MixColumn KeyAddition Plaintext NibbleSub S s Ciphertext Figure 1: Mini-AES encryption process Answer the following questions and show your workings clearly. a) If the key Ko = 0110 1111 1010 1000, calculate the key for K. (4 marks) b) If the key K1 = 1010 0010 1000 1001, calculate the keys for K2. (4 marks) c) Consider the following information in Figure 2. Calculate the binary value for the first NibbleSub. (4 marks) Ko = 1100 1100 1100 1111 Ki = 1010 0110 1010 0101 K2 = 0111 0001 1011 1110 P = 1111 0001 1001 1100 Figure 2 d) Consider the first Shift Row is 0001 0001 1111 1001. What is the binary value for dz in the MixColumn ? (5 marks) e) Based on information in Figure 2, generate the binary value for the ciphertext if the second NibbleSub = 1100 1000 1010 1110. (3 marks) QUESTION 1 (20 marks) Consider an encryption and decryption using Mini-AES as shown in Figure 1. Some detail processes are illustrated in Appendix, respectively. ShifiRow MixColumn KeyAddition Plaintext NibbleSub S s Ciphertext Figure 1: Mini-AES encryption process Answer the following questions and show your workings clearly. a) If the key Ko = 0110 1111 1010 1000, calculate the key for K. (4 marks) b) If the key K1 = 1010 0010 1000 1001, calculate the keys for K2. (4 marks) c) Consider the following information in Figure 2. Calculate the binary value for the first NibbleSub. (4 marks) Ko = 1100 1100 1100 1111 Ki = 1010 0110 1010 0101 K2 = 0111 0001 1011 1110 P = 1111 0001 1001 1100 Figure 2 d) Consider the first Shift Row is 0001 0001 1111 1001. What is the binary value for dz in the MixColumn ? (5 marks) e) Based on information in Figure 2, generate the binary value for the ciphertext if the second NibbleSub = 1100 1000 1010 1110
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
