Check the Strength of a Password Using Java
Max O'Didily
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: https://www.youtube.com/watch?v=kN8mqSvNFa4
Playlist on Java password validation: https://www.youtube.com/watch?v=kN8mqSvNFa4&list=PLrqwM2iFaguj-10YtqbCdFeHIlbvreP8h
Get user input in Java: https://www.youtube.com/watch?v=rioHqpj5xWo
Range Check Java: https://www.youtube.com/watch?v=Cxn5ooGrJvs
Subscribe to keep notified when I upload: https://tinyurl.com/SubMaxODidily
Check the Strength of a Password Using Java ... https://www.youtube.com/watch?v=rwp1irWJtTc
14780074 Bytes