Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started