Question: 2.3 Encryption Mode - Corrupted Cipher Text (60 pts) To understand the properties of various encryption modes, we would like to do the following exercise:

2.3 Encryption Mode - Corrupted Cipher Text (60 pts) To understand the properties of various encryption modes, we would like to do the following exercise: 1. Create a text file that is at least 64 bytes long. Please provide the file content. 2. Encrypt the file using the AES-128 cipher. The encryption mode you should use is ECB, CBC, CFB, and OFB. Now we should have four encrypted files. Please provide the commands. (10 pts) 3. Unfortunately, you just need to corrupt a single bit of the 30th byte in the encrypted files. You can achieve this corruption using ghex. Please provide the information of which bit you got flipped. 4. Decrypt the corrupted files (encrypted) using the correct key and IV. Please provide the the commands and results. (10 pts) 5. Please answer the following questions: || (1) How much information can you recover by decrypting the corrupted file, if the encryption mode is ECB, CBC, CFB, or OFB, respectively? Please answer this question before you conduct this task, and then find out whether your answer is correct or wrong after you finish this task. (20 pts) (2) Explain why. (10 pts) (3) What are the implication of these differences? (10 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
