Question: Write a cpp program call vigenerecipher.cpp that will perform the encryption step of a Vigenre cipher 1. First the program will ask for the key

 Write a cpp program call vigenerecipher.cpp that will perform the encryption
step of a Vigenre cipher 1. First the program will ask for

Write a cpp program call vigenerecipher.cpp that will perform the encryption step of a Vigenre cipher 1. First the program will ask for the key then the name of the file that will be encrypted. 2. Your program should not encrypt numbers and should remove all non-letter and non- number characters, this includes newline characters (there should be no newline characters in the encrypted file). a. A 3 will stay a 3, and a would not be added to the encrypted file. b. In both cases these will not advance the position in the key. c. All encrypted letters should be in upper case. d. Your program then should write the encrypted msg to the console. 3. Write at least 4 functions(you may want more) a int main() i remember to keep it as short as possible b. char shift char(char oa, char shift) 3. Write at least 4 functions(you may want more) a. int main() i. remember to keep it as short as possible b. char shift_char(char og, char shift) i. will shift over og by shift (og = 'B' and shift = 'C' will return 'D)' C. void get_key(string &key) i. should ask the user for the encryption key d. string get_msg(const string& filename) i. should return a string the contains that whole msg 4. Note that %26 will be very important to solve this problem Sample Output Enter your encryption key key what file do you wish to Encrypt? testFile.txt DLCAYGMOZBSUXJMHNSWTQYZCB2PYJCBYKO Where testFile.txtis The quick brown fox jumps over 2 lazy dogs! Type here to search II c n

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!