Question: write a c++ program implementing Caesar cipher Implement two decryption functions corresponding to the above ciphers. When decrypting ciphertext, ensure that the produced decrypted string

write a c++ program implementing Caesar cipher

write a c++ program implementing Caesar cipher Implement two decryption functions corresponding

Implement two decryption functions corresponding to the above ciphers. When decrypting ciphertext, ensure that the produced decrypted string is equal to the original plaintext: decryptCaesar(ciphertext, rshift)plaintext decryptVigenere(ciphertext, keyword) plaintext Write a program decryption.cpp that uses the above functions to demonstrate encryption and decryption for both ciphers It should first ask the user to input plaintext, then ask for a right shift for the Caesar cipher and report the ciphertext and its subsequent decryption. After that, it should do the same for the Vigenere cipher. Example $ ./decryption Enter plaintext: Hello, World! = Caesar Enter shift Ciphertext Decrypted 10 : Rovvy, Gybvn! : Hello, World! Vigenere- Enter keyword cake Ciphertext Decrypted : Jevpq, Wyvnd! : Hello, World! (When reporting decrypted strings, they should be the result of applying decryption functions to the ciphertext, not the original plaintext variable.)

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!