Question
Installing a hex editor: In this assignment, we need to be able to view and modify files of binary and Hex formats just as we
Installing a hex editor: In this assignment, we need to be able to view and modify files of binary and Hex formats just as we did in lectures. You can install a binary file editor called ``bless using the following commands: % sudo apt-get update % sudo apt-get install bless
TASK1: Encryption Mode Corrupted Cipher Text To understand the properties of various encryption modes, you need to do the following exercise: 1. Create a text file that is at least 64 bytes long. 2. Encrypt the file using the AES-128 cipher. 3. Unfortunately, a single bit of the 30th byte in the encrypted file got corrupted. You can achieve this corruption using a hex editor. 4. Decrypt the corrupted file (encrypted) using the correct key and IV.
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. (2) Please explain why. (3) What are the implications of these differences? Here is a summary of the encryption/decryption command line you need to use in case you did not take notes of it in the lectures.
Please replace the ciphertype with a specific cipher type, such as -aes-128-cbc, -aes-128-cfb, etc. You can find the meaning of the command-line options and all the supported cipher types by typing "man enc". Some common options for the openssl enc command are the following
Submission Instructions: You need to type the following in your report: 1- The steps you did to perform this experiment (including command lines, screen shots of your binary files before and after corruption and before and after encryption/decryption). 2- Your answers and observations to the experiment questions
-----------------------
I installl the software and trying to do it but I keep getting an error.
I wana learn this. This is my profession. I have to learn this skill and perfect it.
Can you show me how to do it step by step and telll me what I am doing wrong.
I will learn everything and see wat I am getting wrong.
This is very cool class. It just that I dont get it and i am stuck any help will be deeply appreaciated.
Thank u
% openssi enc ciphertype-e -in plain.txt -out cipher.bin \ -K 00112233445566778 -iv 0102030405060708 8889aabbecddeeff % openssi enc ciphertype-e -in plain.txt -out cipher.bin \ -K 00112233445566778 -iv 0102030405060708 8889aabbecddeeffStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started