Question: In this assignment, you will develop a program in C++, Java, or Python that encrypts a text file and decrypts a text file using a
In this assignment, you will develop a program in C++, Java, or Python that encrypts a text file and decrypts a text file using a simple arithmetic cipher. The cipher algorithm will simply encrypt by adding an integer value to each character (i.e., byte) in the file, and decrypt by subtracting the same integer value from each character in the file. On the command line, the user will submit the name of the program, followed by either "-e" or "- d" and a nonnegative integer value (a key) between 0 and 120 inclusive. The "-e" option is for encrypt, and the "-d" option is for decrypt. The text file will be submitted using file redirection on the command line. looking for java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
