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, 22.06.2019 08:30
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
question
Computers and Technology, 22.06.2019 17:40
Write a modular program (no classes yet, just from what you learned last year), that allows two players to play a game of tic-tac-toe. use a two-dimensional char array with 3 rows and 3 columns as the game board. each element of the array should be initialized with an asterisk (*). the program should display the initial board configuration and then start a loop that does the following: allow player 1 to select a location on the board for an x by entering a row and column number. then redisplay the board with an x replacing the * in the chosen location. if there is no winner yet and the board is not yet full, allow player 2 to select a location on the board for an o by entering a row and column number. then redisplay the board with an o replacing the * in the chosen location. the loop should continue until a player has won or a tie has occurred, then display a message indicating who won, or reporting that a tie occurred. player 1 wins when there are three xs in a row, a column, or a diagonal on the game board. player 2 wins when there are three ox in a row, a column, or a diagonal on the game board. a tie occurs when all of the locations on the board are full, but there is no winner. input validation: only allow legal moves to be entered. the row must be 1, 2, or 3. the column must be 1, 2 3. the (row, column) position entered must currently be empty (i.e., still have an asterisk in it).
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
You know the right answer?
having a secure password is a very important practice, particularly when much of our personal inform...
Questions
question
Health, 18.11.2020 01:20
question
Mathematics, 18.11.2020 01:20
question
Mathematics, 18.11.2020 01:20
question
English, 18.11.2020 01:20
question
Mathematics, 18.11.2020 01:20
question
Mathematics, 18.11.2020 01:20
Questions on the website: 13722361