PasswordChecker is a Python program that analyzes how strong a user's password is by performing several checks. These checks include:
- Checking if the user's password has been exposed in HaveIBeenPwned's data breaches
- Verifying that the password meets a certain length requirement
- Calculating the percentage of characters in the password that belong to different character types (such as lowercase/uppercase letters, numbers, and symbols)
- Highlighting any characters that occur too frequently in the password
- Calculating the password's entropy, which is a measure of how difficult the password would be for an attacker to guess
- Generating a new, strong password for the user to use if desired.
PasswordChecker is a cross platform script that works with python 3.x.
git clone https://github.com/0liverFlow/PasswordChecker
cd ./PasswordChecker
pip3 install -r requirements.txt
Then you can run it
python3.x PasswordChecker.py
Some features of this script such as the entropy calculation and the minimum generated password length appreciation are based on ANSSI's password recommendations.
Feel free to take a look at it to learn more.