Computers and Technology, 21.03.2020 07:54 ava5015
**Please it is necessary to use the functions and the names given. It is also important to use string and getline.**
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 : 10
Ciphertext : Rovvy, Gybvn!
Decrypted : Hello, World!
= Vigenere =
Enter keyword : cake
Ciphertext : Jevpq, Wyvnd!
Decrypted : Hello, World!
(When reporting decrypted strings, they should be the result of applying decryption functions to the ciphertext, not the original plaintext variable.)
Answers: 3
Computers and Technology, 25.06.2019 11:30
In a personal computer, the system software
Answers: 1
Computers and Technology, 25.06.2019 12:00
The user needs to add a thick dark green border around a chart in powerpoint. the user can do this in chart tools by choosing?
Answers: 1
Computers and Technology, 25.06.2019 13:10
1. which characteristics of pop art are evident in the image? select all that apply. (3 points). a. ben-day dots b. bold use of color c. celebrity figure d. everyday object
Answers: 3
Computers and Technology, 26.06.2019 11:00
Once artwork is inserted into a placeholder, it can be moved around on a slide.
Answers: 1
**Please it is necessary to use the functions and the names given. It is also important to use strin...
Mathematics, 31.01.2020 11:54
History, 31.01.2020 11:54
English, 31.01.2020 11:54
Mathematics, 31.01.2020 11:54
Mathematics, 31.01.2020 11:54
History, 31.01.2020 11:54
Advanced Placement (AP), 31.01.2020 11:54
Health, 31.01.2020 11:54
Mathematics, 31.01.2020 11:54
Biology, 31.01.2020 11:54
Chemistry, 31.01.2020 11:54
History, 31.01.2020 11:54
Mathematics, 31.01.2020 11:54