Question: In java please Q4. File encryption is the science of writing the contents of a file in a secret code. Your encryption program should work

In java please  In java please Q4. File encryption is the science of writing

Q4. File encryption is the science of writing the contents of a file in a secret code. 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 contents out to a second file. The second file will be a version of the first file, but written in a secret code. Write a program to encrypt a message using the following scheme. Read the first file one character at a time, and add 8 to the character code of each character before it is written to the second file. a) b) Write a program that decrypts the file produced by the above program in a). The decryption program should read the contents of the coded file, restore the data to its original state, and write it to another file

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!