Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions