Question: write a program in c++ that Implement the simple Caesar cipher (letter + key) mod 26 decipher (letter - key) mod 26. Remember to create
write a program in c++ that Implement the simple Caesar cipher (letter + key) mod 26 decipher (letter - key) mod 26. Remember to create FUNCTIONS so that you main() program is small; for example: Caesa Encryption(char *in, char *out, int length, int key) { ..... } your main should ask user for a sentence and a key, then encrypt it, showing the user the cipher. The user should be able to decrypt as well. Can you please solve this problem in the simplest way possible without using the function strcpy(letters, alphabets.c_str());
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
