Question: Assignment: With an increased emphasis on security, it is imperative that strong passwords are used. Develop a Java program that will accept user input, until

Assignment: With an increased emphasis on security, it is imperative that strong passwords are used. Develop a Java program that will accept user input, until a strong password is entered. After each user attempt at inputting a password display one of the following messages (Invalid, Low-Security Level, Medium Security Level or Strong Security Level). Stop program execution once a strong password is entered. Use the criteria listed below to determine the password security level.

Low - Each password must have at least 5 characters. This is the default security level.

Medium - Each password must have at least 6 characters and meet the following requirements:

  • Includes numbers and mixed case letters

High - Each password must have at least 8 characters and meet the following requirements:

  • Includes numbers and mixed case letters
  • Includes a special character that is not a letter or number

Invalid - doesn't meet the minimum requirements of the low (default) security level.

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 Databases Questions!