Question: Java, written as txt file Write an Encryption class that encrypts the contents of a binary file. Your encryption program should work like a filter,
Java, written as txt file 
Write an Encryption class that encrypts the contents of a binary file. Your encryption program should work like a filter, reading the contents of one file, modifying the data into a code, and then writing the coded content out to a second file. The second file will be a version of the first file, but written in a secret code. Use a simple encryption technique, such as reading one character at a time, and add 10 to the character code of each character before it is written to the second file. Come up with your own encryption method. Also write a Decryption class that reads the file produced by the Encryption program. The decryption file will use the method that you used and restore the data to its original state, and write it to a new file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
