Question: 1 . Ask the user to enter the username and password for an account they would like to sign into . 2 a . Check

1. Ask the user to enter the username and password for an account they would like to sign into.2a. Check if an account exists that has the username the user entered (make a method that does this), and then retrieve & decrypt the password for that account if it exists.3. Lastly, compare the decrypted password to the password that was just entered by the user. If the passwords match, print Sign In Successful!. If they dont match, print Incorrect Password!Lets assume that every username is completely unique (kind of like its a primary key).Submit a copy of your code in a word document, as a pdf, or as screenshots. You only need to show the code from the 'CreateUser.java' file since that is the only file being modified.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!