Question: Single Task: Objectives: Familiarize the student with: Practice Python tools to encrypt and decrypt files; Account for missing files; Task: This assignment will use Practical
Single Task:
Objectives:
Familiarize the student with:
- Practice Python tools to encrypt and decrypt files;
- Account for missing files;
Task:
This assignment will use Practical Assignment-7 as a foundation. Modify the .py resulted fron Practical Assignment 7 to meet the following requirements:
- If the file name that the user inputs does not exist in the folder, the user should be asked to try again two times. If the input file is still missing after the third attempt, the program should exit with a message;
- Automatically delete the original file after the encryption is done; use the option where the deleted file is not recoverable;
- For the option requiring a password to encrypt and decrypt, if the decryption password is wrong, the user should be asked to try again two times. If the password is still wrong after the third attempt, the program should exit with a message;
- Try to make the password invisible when t is input by the user, just like Linux passwords (optional item).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
