Geen omschrijving

Dennis Rodewyk 9ec151b42d Update README.md 5 jaren geleden
.gitignore e6e5584f89 Initial commit 5 jaren geleden
Makefile d927bdddb9 Change name to password-strength 5 jaren geleden
README.md 9ec151b42d Update README.md 5 jaren geleden
app.go ac32f36067 Fix typo 5 jaren geleden

README.md

password-strength

A password strength calculator based on Dropbox's password strength estimator zxcvbn.

Also checks with haveibeenpwned API if a given password has been compromised.

Build

make
make install

Usage

  -password string
    	a password
  -word string
    	used word
  -pwned
    	check with haveibeenpwned API if password has been seen before

Examples

password-strength -password "Tr0ub4dor&3," -word troubador -pwned

Password:		Tr0ub4dor&3,
Password strength:	1/4
Guesses Log10:		5.041393

Guess times
100 / h:		1 months 	(throttled online attack)
10  / s:		3 hours  	(unthrottled online attack)
10k / s:		11 seconds	(offline attack, slow hash, many cores)
10b / s:		< 1 second	(offline attack, fast hash, many cores)
passphrase-entropy -password "correcthorsebatterystaple" -pwned -word correct -word horse -word battery -word staple -pwned

Password:		correcthorsebatterystaple
Password strength:	4/4
Guesses Log10:		12.008345

Guess times
100 / h:		Centuries	(throttled online attack)
10  / s:		Centuries	(unthrottled online attack)
10k / s:		3 years  	(offline attack, slow hash, many cores)
10b / s:		2 minutes	(offline attack, fast hash, many cores)

This password has been compromised and should not be used.

Acknowledgements

password-strength is based on trustelem's go implementation of Dropbox's password strength estimator zxcvbn.

Also checks with haveibeenpwned API if a given password has been compromised with a forked version of sinduvi87's haveibeenpwned.