Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java Programming Part 1 File encryption is the science of writing the contents o

ID: 664203 • Letter: J

Question

Java Programming

Part 1

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. 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 character code of each character before it is written to the second file. I would like you to modify the program slightly. You should ask the user what the number is that is going to be used for the Encryption. Therefore the program will prompt the user for a number and apply it to the data in the file to create the encrypted file.

Part 2

File Decryption Filter
Write a program that decrypts the file produced by the program in Programming Challenge 7. The decryption program should read the contents of the coded file, restore the data to its original state, and write it to another file.

Note: Need this code simplified for a beginner class

Explanation / Answer

2.

1.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote