Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++ write an app that applies monoalphabetic cipher to encrypt a message .1. Use the string variable to hold the message the quick brown
In C++ write an app that applies monoalphabetic cipher to encrypt a message
.1. Use the string variable to hold the message "the quick brown fox jumps over the lazy dog"
2. Use a string variable to hold the entire alphabet "abcdefghijklmnopqrstuvwxyz"
4. Use random number related functions to shuffle letters in the key string variable to generate the encryption key
5. use the key to encrypt the message
6. the program outputs the original message the key and the encrpyted message
output:
lessage: the quick brown fox jumps over the lazy dog ley: fmhbdwcjqovsptrnxzgiuklaye ncrypted: ijd xuqhv mzrlt wra oupng rkdz ijd sfey brc :\Teaching\Spring2021\CPSC246\Homework\HW@4\crypt\Debug\crypt.exe (process 41156) exited with code 0. to automatically close the console when debugging stops, enable Tools->Options->Debugging - Automatically close the conso le when debugging stops. Press any key to close this windowStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started