Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE NOTE: I WANT CODES IN ONLY AND ONLY JAVA LANGUAGE USING FILEINPUT STREAM. PLEASE DONT POST IN C LANGUAGE. ONLY JAVA File Decryption Filter

PLEASE NOTE: I WANT CODES IN ONLY AND ONLY JAVA LANGUAGE USING FILEINPUT STREAM. PLEASE DONT POST IN C LANGUAGE. ONLY JAVA

File Decryption Filter

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

(challenging 7 ).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, in this assignment, you will use a simple one: Read the first file one character at a time, and add ten to the character code of each character before it is written to the second file.

Write a class that performs the file encryption described above and demonstrate the class in a program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started