Answered step by step
Verified Expert Solution
Link Copied!

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 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Time Database And Information Systems Research Advances

Authors: Azer Bestavros ,Victor Fay-Wolfe

1st Edition

1461377803, 978-1461377801

More Books

Students also viewed these Databases questions