This is a command line tool that checks how much a password is safe.
This tool doesn't store any information!
Just write go run main.go in your terminal inside ../pwd-safety$
So: ../pwd-safety$ go run main.go
It reads from standard input the entered password.
First, it searches in known-pwd1.txt and known-pwd2.txt files if there is the password or the reverse password.
The calculation isn't immediate, It searches for over 5.2 million hacked passwords
Then, just do little calculations, checking if the basic rules are respected.
Like if there are UPPERCASE CHARS, lowercase chars, numb3rs and symbols.
It stores the length of the password and the ratio [ unique different chars / total chars].
It calculates then the entropy of a password.
Password entropy is a measurement of how unpredictable a password is.
Where E = password entropy
R = pool of unique characters
L = number of characters in your password
Then R^L = the number of possible passwords and the log of it is the number of bits of entropy.
When the score <= 68(reasonable) it generates a random password using a list of all english words.
Max score: 100
- Very weak: 0 - 35
- Weak: 36 - 59
- Reasonable: 60 - 68
- Strong: 69 - 80
- Very strong: 81 -100
- Found in known password
- Found in known password reversed
- Password composition:
- Unique different characters
GIT command on prompt:
git -clone https://github.com/edoardottt/pwd-safety.git
Download by Browser on:
- Added: - Generates random password when score <= REASONABLE - Errors code table
- First pre-release
If you liked it drop a
https://www.edoardoottavianelli.it for contact me.
Edoardo Ottavianelli ©