timbutler / zxcvbn

Go implementation of Dropbox's zxcvbn realistic password strength estimator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoDoc Build Status Coverage Status

This is a go port of zxcvbn, a password strength estimator inspired by password crackers. Through pattern matching and conservative estimation, it recognizes and weighs 30k common passwords, common names and surnames according to US census data, popular English words from Wikipedia and US television and movies, and other common patterns like dates, repeats (aaa), sequences (abcd), keyboard patterns (qwertyuiop), and l33t speak.

This port aims to be fully compatible (i.e. give the same results for a given password using the same set of dictionnaries) with the upstream coffeescript libray from Dropbox: all unit tests from the upstream library have been ported (and even more tests have been added) to ensure that this holds.


Current status:

  • this library should be 100% compatible (score, sequence and number of guesses) with release 4.4.2 of the coffeescript library.
  • feedback messages are missing

Modifications

  • Dates now correctly detect the year when it's a YYYY pattern

About

Go implementation of Dropbox's zxcvbn realistic password strength estimator

License:MIT License


Languages

Language:Go 98.2%Language:Python 1.6%Language:Shell 0.2%