Question: i need to do these 2 tasks in the virtual machine 4 Task 3: Encryption Mode - ECB vs. CBC The file pi c or

i need to do these 2 tasks in the virtual machine
i need to do these 2 tasks in the virtual machine 4

4 Task 3: Encryption Mode - ECB vs. CBC The file pi c or 1gina. . bepp can be dosalcaded frum this lab's website, and it contains a simple pictare. We would like to encrypt this picture, 90 people without the encryption keys cannot know what is in the picture. Please encrypt the ftle using the ECB (Electroeic Code Book) and CBC (Cipher Block Chaining) modes, and then do the following: 1. Let us treat the encrypted picture as a picture, and use a picture viewing software to display it. How. ever, For the , besp file. the firs 54 bytes coetain the header information about the picture, we have to set it correctly, so the encrypted file can be treated as a lcgitimate . bmp file. We will replace the header of the encrypted picture with that of the original picture. We can use the bless hex cditor tool (already installed on our VM) to directly modify binary files. We can alwo use the following commands to get the header from P2. bep, the dara from p2. bemp (from offset 55 to the cnd of the file), and then combine the header and data togcther into a new tile. 5 head c54pl, berp > header 5 tail -e +55p2,bmp> body 5 cat header body > new obep 2. Display the encrypted picture using a picture vicaing program (we have installed an image vicwer program called eog on our VM). Can you derive any useful information about the original picture from the encrypted picture? Please explain your observations. Select a picture of your choice, repeat the expcriment ahove, and report your observations

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!