Question: Please write in C++ Write a program File Encryption and Decryption File Encryption is the science of writing the contents o f a file in
Please write in C++
Write a program
File Encryption and Decryption
File Encryption is the science of writing the contents o
f a file in a secret code. Your encryption
program should work like a filter, reading the contents of o
ne file, modifying the data 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. Your program should be
able to decrypt the encrypted file. Your
program should output the decrypted contents on a separate f
ile and also on the console.
Although there are complex encryption techniques (which you
will study eventually if you are a CS
major), you should come up with simple algorithm of your o
wn.
For example, yogi could read the first file one charact
er at a time, and add 10 to the ASCII code of
each character before it is written to the second file.
Please write separate functions for each part of the algorithm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
