Question: In C++ Implement two decryption functions corresponding to the above ciphers. When decrypting ciphertext, ensure that the produced decrypted string is equal to the original
In C++

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 that uses the above functions to demonstrate encryption and Write a program decryption.cpp 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 : 10 ciphertext Rovwy, Gybvn! DecryptedH : Hello, World! = Vigenere Enter keyword Ciphertext Decrypted cake :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.) 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 that uses the above functions to demonstrate encryption and Write a program decryption.cpp 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 : 10 ciphertext Rovwy, Gybvn! DecryptedH : Hello, World! = Vigenere Enter keyword Ciphertext Decrypted cake :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
Get step-by-step solutions from verified subject matter experts
