Check the Strength of a Password Using Python

preview_player
Показать описание
Check the Strength of a Password Using Python

Greetings, in this tutorial we shall be looking at how to check the strength of a password using Python. 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 uppercase 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 Python.

Python Password Regexes:

r"(?=.*[a-z]).*"
r"(?=.*[A-Z]).*"
r"(?=.*[0-9]).*"
r"(?=.*[!@#$%^&*]).*"

Other Python password tutorials you may enjoy:

Check the Strength of a Password Using Python
Рекомендации по теме