Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 : 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 : Extend with Another Cipher
Now that you have implemented the Caesar cipher, extend your program to include another cipher algorithm of your choice eg Vigenre ROT 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started