subject

having a secure password is a very important practice, particularly when much of our personal information is stored online.

write a program that validates a new password, following these 4 rules:

the password must be at least 8 characters long.
the password must have at least one upper case letter.
the password must have at least one lower case letter.
the password must have at least one digit.
1) your program should ask for a password, and then check first to see if the password is valid (i. e., conforms to the specifications outlined above.) if not, the program should allow the user to continue to enter passwords until s/he enters a valid password.

2) then your program should confirm the password by requesting that the user enter the password again, and verify that the two match. if they don't match, allow the user to try it again (for a total of 3 tries only).

you will need a minimum of two methods, one to confirm the two passwords, and at least one (or more) to check to see if the password meets the 4 required specifications outlined above.

carefully examine and follow all the program requirements. make sure you use prologue comments for your program, including prologue comments for each of your methods. you will find both the java string methods as well as the character class methods immensely for this lab. use comments as well for any part of your code that may not be self-explanatory or may require some additional documentation.

you will find both the java string methods as well as the character class methods immensely for this

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 02:00
How are we able to create photographs differently than 100 years ago? explain your answer in relation to your photograph you selected.
Answers: 1
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
question
Computers and Technology, 24.06.2019 21:40
Which of these is not a type of socket? aga (alternating grid array) pga (pin grid array) spga (staggered pin grid array) lga (land grid array)
Answers: 1
You know the right answer?
having a secure password is a very important practice, particularly when much of our personal inform...
Questions
question
Mathematics, 05.05.2020 20:25
question
Mathematics, 05.05.2020 20:25
question
English, 05.05.2020 20:25