The file pic_original.bmp here contains a simple picture. Encrypt this picture, so people without the encryption keys cannot know what is in the picture. Please encrypt the file using the ECB (Electronic Code Book) and CBC (Cipher Block Chaining) modes, and then do the following:

 

Treat the encrypted picture as a picture and use a picture viewing software to display it. For a .bmp file, the first 54 bytes contain the header information about the picture. Add the plain text header bytes to the encrypted file so it will be displayed as a legitimate .bmp file. Replace the header of the encrypted picture with that of the original picture. You can use a hex editor tool (e.g. ghex or Bless) to directly modify binary files.

Display the encrypted picture using any picture viewing software.

 

Submit:

 

Submit the ECB encrypted photo (insert the photo in your lab report document) after replacing the header so that it is viewable in an image viewer.

Can you derive any useful information about the original picture from the encrypted picture? Please explain your observations.

NEED ASSIGNMENT HELP?

We guarantee plagiarism-free and AI-free writing services. Every assignment is crafted with originality, precision, and care to meet your academic needs.

Ready to get started? Place your order directly on this post!

Let us help you achieve excellence—authentic work, every time.


Leave a Reply

Your email address will not be published. Required fields are marked *