Check the Strength of a Password Using Java
Greetings, in this tutorial we shall be looking at how to check the strength of a password using Java. This is similar to validating a password, but we are focusing on evaluating how strong a password is instead of checking if it is valid or not.
We will be checking the length, if it has a lower case letter, if it has an upper case letter, if it has a digit and if it has a special character. All of these factors will determine how strong the password is.
Thanks for watching this tutorial on how to check the strength/complexity of a password in Java.
Java Password Regexes:
(?=.*[a-z]).*
(?=.*[A-Z]).*
(?=.*[0-9]).*
(?=.*[!@#$%^&*]).*
Java tutorials that you may like:
How to validate a password in Java: • Java Validation: Valid...
Playlist on Java password validation: • Java Validation: Valid...
Get user input in Java: • How to Get User Input ...
Range Check Java: • Java Validation: Range...
Subscribe to keep notified when I upload: tinyurl.com/Su...
Check the Strength of a Password Using Java
Негізгі бет Check the Strength of a Password Using Java
Пікірлер: 2