You will develop a program capable of encrypt and decrypting text using Caesar cipher.
Program Requirements:
You will develop a program capable of encrypt and decrypting text using Caesar cipher. In order
to do this, you will be required to implement several functions, specified in the template
provided.
Once complete, your programs main() method should do the following:
1. Prompt users to select a mode (encrypt or decrypt).
2. Check if the mode the user entered is valid. If not, continue to prompt the user until a
valid mode is selected.
3. Prompt the user for the message they would like to encrypt or decrypt.
4. Encrypt or decrypt the message as appropriate and print the output.
5. Prompt the user whether they would like to encrypt or decrypt another message.
6. Check if the user has entered a valid input (y/n) If not, continue to prompt the user until
they enter a valid response. Depending upon the response you should either:
a. End the program if the user selects no.
b. Proceed directly to step 2 if the user says yes.
You should use a loop to keep the
to encrypt or decrypt more messages.
Your program should handle both uppercase and lowercase inputs. You can use
str.upper() and str.lower() to convert strings to a specific case. However, you should
only output only uppercase messages.
(Use template in the pictures, it needs to be done in python)
Step by step
Solved in 2 steps with 1 images