Question: We have studied some interesting algorithms to perform Encryption and Decryption. In this context you are required to implement and test two algorithms namely: Caesar
We have studied some interesting algorithms to perform Encryption and Decryption. In this context you are required to implement and test two algorithms namely:
- Caesar Cipher
- Vigenre Cipher
Requirements
You are required to implement the following functionality:
- Plain Text to Cipher Text (Encryption):
- Get a user input from the screen or from a file as plain text.
- Get a key from the user or from a file.
- Encrypt the plain text from 1 using the key from 2 and either save the resultant cipher text on a file or display it on the screen.
- Cipher Text to Plain Text (Decryption):
- Get a user input from the screen or from a file as cipher text.
- Get a key from the user or from a file.
- Decrypt the cipher text from 1 using the key from 2 and either save the resultant plain text on a file or display it on the screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
