Assignment 5
Due on 04/04/2023
Problem(s)
NOTE:
- You must execute your python notebook and provide sample outputs for Part 1, as 50% marks will be given for the valid outputs.
- Perform the Base64 conversion to handle byte strings before encryption and vice-versa in case of decryption.
Part 1
- Complete Assignment-4 with the following additional features:
- Override the Menu(s) and directly encrypt/decrypt the data
- Add enough default parameters to the functions
- MUST provide the output for all of the options/choices of the program
Part 2
This is a challenge, and step-wise marks will be given.
Someone has encrypted a data file as secret.enc
using one of the classical ciphers, which is only meant for you. Unfortunately, the key is lost while the file transmission! Can you still decrypt the binary file and recover the confidential information?
The grading will be done for the following sub-parts of the solutions:
- Providing the key K (20%)
- Providing the name of the used classical cipher and type (with extension) of the original data file (20%)
- Providing the original/recovered data file (60%)
You can download the secret.enc
file by providing your roll number below (enter the correct roll number only):