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, 21.06.2019 16:30
Margins can be modified in the page layout tab or by using
Answers: 2
Computers and Technology, 21.06.2019 18:30
Which statement best explains how plant cells use photosynthesis to maintain homeostasis? they use glucose and water to make energy. they break down glucose into fat. they combine oxygen and water to make glucose. they make glucose from carbon dioxide and water.
Answers: 1
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
Computers and Technology, 22.06.2019 10:30
Think about a recent customer service experience - either positive or negative. write a brief summary of that experience. now think about those four characteristics we look for in customer service representatives. how did the representative in your example stack up? write down your answer and give specific examples.
Answers: 1
**Please it is necessary to use the functions and the names given. It is also important to use strin...
Health, 26.08.2019 09:30
Social Studies, 26.08.2019 09:30
Mathematics, 26.08.2019 09:30
Chemistry, 26.08.2019 09:30
Biology, 26.08.2019 09:30
Mathematics, 26.08.2019 09:30
English, 26.08.2019 09:30
Biology, 26.08.2019 09:30
Mathematics, 26.08.2019 09:30
Arts, 26.08.2019 09:30
Chemistry, 26.08.2019 09:30
Social Studies, 26.08.2019 09:30
Health, 26.08.2019 09:30
History, 26.08.2019 09:30
Mathematics, 26.08.2019 09:30