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
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