Question: Java Explain each line of code in comment if you dont mind. Password Strength Checker: Implement a solution to check the strength of a password
Password Strength Checker: Implement a solution to check the strength of a password (1 - Weakest : 10 Strongest) entered by the user based on the following criteria: . Password default strength at start = 4 Plus 1 point if Password contains 1 Special Characters OR Plus 2 points if Password contains 2 or more Special Characters. Plus 1 point if Password contains Caps and Small case combination . Plus 1 if it is longer than or equal to 8 characters Minus 1 if it is shorter than a characters No plus/minus points for repeating special characters. Error message saying password too weak to evaluate in case the score falls below 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
