Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Complete Programming Challenges - Problems 7 ( File Encryption Filter ) and 8 ( File Decryption Filter ). In both cases, make sure you create

Complete Programming Challenges - Problems 7 ( File Encryption Filter ) and 8 ( File Decryption Filter ).

In both cases, make sure you create a custom Exception to let the user know, when decrypting if the input file was not encrypted ( read a random character, apply your decryption algorithm and see if the result is in the ASCII range ) or if the input file is not clear text, when encrypting ( read a random character and see if it is in the ASCII range, if not do not encrypt )

The solution class should have both encyption and decryption methods, thus a single class for both problems and two classes for the two custom exceptions.

/**

*Description: This program will displays a string without any user interaction

*Class: Fall - COSC 1437.81002

*Assignment1: Hello World

*Date: 08/15/2011

*@author Zoltan Szabo

*@version 0.0.0

*/

For each method, you will also be required to create docstring as follows:

/**

* @param String as args

* @return Termination code as int, 0 for normal, anything else is error condition

* @throws Nothing is implemented

*/

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

Recommended Textbook for

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

More Books

Students also viewed these Databases questions