Question
Create a class called password that implements the Encryptable interface we studied in the classroom. Then, create a main driver that instantiates a Secret object
Create a class called password that implements the Encryptable interface we studied in the classroom. Then, create a main driver that instantiates a Secret object and a Password object, using the same reference variable, and test their methods. Use any type of encryption desired for Password, other than the Caesar cipher used by Secret. One simple algorithm for encryption password is to insert random character between characters. For example, my password is mycleverpassword. Then, insert random character beween m and y, y and c, c and l, and until the last character.
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