Question: Task 1 : Caesar Cipher In this task, you'll implement the Caesar cipher using your preferred programming language. The Caesar cipher is a substitution cipher

Task 1: Caesar Cipher
In this task, you'll implement the Caesar cipher using your preferred programming language. The Caesar cipher is a substitution cipher where each letter in the plaintext is shifted a certain number of places down the alphabet.
Requirements
Add a menu for the user to choose between encryption and decryption.
Take a plaintext input from the user for encryption, or ciphertext for decryption.
Ask the user for the shift value (an integer).
Encrypt or decrypt the text using the Caesar cipher algorithm.
Display the resulting text.
Task 2: Extend with Another Cipher
Now that you have implemented the Caesar cipher, extend your program to include another cipher algorithm of your choice (e.g., Vigenre, ROT13, XOR). The user should be able to choose between the Caesar cipher and your new cipher.
Requirements
Add to the existing menu to allow the user to choose which cipher to use.
Implement the new cipher and its decryption algorithm.
Allow the user to encrypt or decrypt text using the selected cipher.
 Task 1: Caesar Cipher In this task, you'll implement the Caesar

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!