Question: I need this in c++ please Chapter 13. File Encryption Filter: This is based on the problem 7 pp 912. Write a class call Encrypt
I need this in c++ please
Chapter 13. File Encryption Filter: This is based on the problem 7 pp 912.
Write a class call Encrypt that:
1. Reads a series of numbers (fictional secret agent names) from a text file called data.txt. The numbers are Philby MataHari Bond Zivago Please key these numbers in to the text file
2. Encodes these numbers by adding the ascii value 10 to the characters. Saves this data in a binary file called data.bin Write a class called Decrypt that reads the binary file data.bin and subtracts the ascii 10 from the characters and puts the names in a text file called agents.txt.
These classes need to be in separate files
Write a main driver program that
prints***********Agents are*********************************
1. prints the agents names from data.txt
prints*********************************************************
2. creates an Encrypt object and passes the filename data.txt to constructor
3. creates a Decrypt object and passes the filename data.bin to constructor prints
******************De Cypted Agents are*********************
4. prints the output from the file agents.txt
prints***********************************************************
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
