Cryptography Lab Report
Instructions
Answer the questions below highlighted. You will use the MARS virtual environment to complete this lab. The MARS user interface is accessible using https://mars.umgc.edu
For this lab, you will be using the WSL Ubuntu 1804 instance. Details on how to connect to that instance within MARS are included in the steps of The Symmetric key lab.
Project 2 Report
Lab 1 – Symmetric Key Lab
Part 1: Monoalphabetic Substitution Cipher
The decrypted lab secret message was:
The encryption key (e.g. ‘fpdyehjbgiknvrmlusxwotczaq’) discovered was:
Part 2: Encryption Using Different Ciphers and Modes
Provide the specific commands you used for both cipher modes for encrypting and decrypting the file.
Cipher mode 1 – Encryption String:
Cipher mode 1- Decryption String:
Cipher mode 2 – Encryption String:
Cipher mode 2- Decryption String:
Experiment by changing the K or iv value on the decryption. Describe what happens?
Part 3: Initial Vector
List the openssl commands used to encrypt and decrypt the plaintext. Be sure to show the output for each example.
Describe your observations, and explain why the iv needs to be unique.