Question
This is C++ and I need help here. So bellow are program 7 and 8. Those programs would have to be coded and worked and
This is C++ and I need help here.
So bellow are program 7 and 8. Those programs would have to be coded and worked and then be tested by a group of names that are provided. But the names would first have to be put in a text named: Name.text .
Here are the programs:
Program #7 file Encryption Filter: file encryption is the science of writing the content of a file in a secret code. Your encryption program should work like a
filter, reading the contents of one file, modifying the information into a code, and then writing the coded contents out to a
second file. The second file will be a version of the first file but written in a secret code.
Although there are complex encryption techniques, you should come up with a simple one of your own. For example, you
could read the first file one character at a time and add 10 to the ASCII code of each character before it is written to the
second file. File Decryption Filter: Write a program that decrypts the file produced by the program in programming challenge 7 above. The decryption
program should read the contents of the coded file, restore the information to its original state, and write it to another file.
Here are the requirments:
1- Make sure each program works first.
2- #7-encrypt a message
3- #8-decrypt the message in #7 to the original form.
Here is the data bellow that should be used to test the code
Hint: This data should be first put in a sample text-file-name.text and then be tested.
SMITH JOHNSON WILLIAMS BROWN JONES SMITH JOHNSON WILLIAMS BROWN JONES SMITH JOHNSON WILLIAMS BROWN JONES SMITH JOHNSON WILLIAMS BROWN JONES
Step 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