Encryption mode – ECB vs. CBC
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.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.