Question
Write a Java program with two methods. One method should input a regular random password (which you generated from Part 1) and encrypt it. The
Write a Java program with two methods. One method should input a regular random password (which you generated from Part 1) and encrypt it. The second method should input an encrypted password and decrypt it. Use the Caesar Cipher approach for encryption and decryption. It is a simple substitution cipher where characters in a message are replaced by a substitute character. The substitution is done according to an integer key which specifies the offset of the substituting characters. Write at least ten test cases for each method to show it is functioning correctly. in java language and please show how you did it and verify that the program works please and thank you
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