Question: Write a C++ program to encrypt or cipher a text file (eFile.txt). The text files does contain small letters, capital letter, numbers, spaces, and symbols.

 Write a C++ program to encrypt or cipher a text file(eFile.txt). The text files does contain small letters, capital letter, numbers, spaces,

Write a C++ program to encrypt or cipher a text file (eFile.txt). The text files does contain small letters, capital letter, numbers, spaces, and symbols. If the file does not exist, the program should terminate with a file not found error message displayed on the screen. The output (encrypted text) will be displayed on the screen as 50 character per line. Plaintext alphabet: ABCDEFGHIJKLMNOPORSTUVWXYZ Cipher text alphabet: EMNVDLWAUCPOKXQBIZJRYTGSHF Numbers 0123456789 Cipher numbers 9876543210 Special symbols Cipher special symbols : !$%&'()*+,-./;?@{ {}][@?>=<: space replacer symbols>

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!