├── .gitignore ├── .travis.yml ├── LICENSE.txt ├── README.md ├── adjacency ├── adjacency.go └── graphs.go ├── data-scripts ├── build_frequency_lists.py ├── build_keyboard_adjacency_graphs.py ├── count_us_census.py ├── count_wikipedia.py ├── count_wiktionary.py └── gen.sh ├── data ├── english_wikipedia.txt ├── female_names.txt ├── male_names.txt ├── passwords.txt ├── surnames.txt └── us_tv_and_film.txt ├── feedback └── feedback.go ├── frequency ├── lists.go └── lists_no_embeded_dict.go ├── fuzz ├── fuzz.go └── gen.sh ├── go.mod ├── internal └── mathutils │ ├── mathutils.go │ └── mathutils_test.go ├── match ├── match.go ├── match_test.go ├── sort.go └── sort_test.go ├── matching ├── date.go ├── date_test.go ├── dictionary.go ├── dictionary_test.go ├── leet.go ├── leet_test.go ├── matching_test.go ├── omnimatch.go ├── omnimatch_test.go ├── regexp.go ├── regexp_test.go ├── repeat.go ├── repeat_test.go ├── reverse_dictionnary.go ├── reverse_dictionnary_test.go ├── sequence.go ├── sequence_test.go ├── spatial.go └── spatial_test.go ├── scoring ├── guesses.go ├── guesses_test.go ├── scoring.go └── scoring_test.go ├── testdata ├── gen.sh └── output.json ├── time_estimate.go ├── time_estimate_test.go ├── zxcvbn.go └── zxcvbn_test.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/README.md -------------------------------------------------------------------------------- /adjacency/adjacency.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/adjacency/adjacency.go -------------------------------------------------------------------------------- /adjacency/graphs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/adjacency/graphs.go -------------------------------------------------------------------------------- /data-scripts/build_frequency_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data-scripts/build_frequency_lists.py -------------------------------------------------------------------------------- /data-scripts/build_keyboard_adjacency_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data-scripts/build_keyboard_adjacency_graphs.py -------------------------------------------------------------------------------- /data-scripts/count_us_census.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data-scripts/count_us_census.py -------------------------------------------------------------------------------- /data-scripts/count_wikipedia.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data-scripts/count_wikipedia.py -------------------------------------------------------------------------------- /data-scripts/count_wiktionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data-scripts/count_wiktionary.py -------------------------------------------------------------------------------- /data-scripts/gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data-scripts/gen.sh -------------------------------------------------------------------------------- /data/english_wikipedia.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data/english_wikipedia.txt -------------------------------------------------------------------------------- /data/female_names.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data/female_names.txt -------------------------------------------------------------------------------- /data/male_names.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data/male_names.txt -------------------------------------------------------------------------------- /data/passwords.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data/passwords.txt -------------------------------------------------------------------------------- /data/surnames.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data/surnames.txt -------------------------------------------------------------------------------- /data/us_tv_and_film.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/data/us_tv_and_film.txt -------------------------------------------------------------------------------- /feedback/feedback.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/feedback/feedback.go -------------------------------------------------------------------------------- /frequency/lists.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/frequency/lists.go -------------------------------------------------------------------------------- /frequency/lists_no_embeded_dict.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/frequency/lists_no_embeded_dict.go -------------------------------------------------------------------------------- /fuzz/fuzz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/fuzz/fuzz.go -------------------------------------------------------------------------------- /fuzz/gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/fuzz/gen.sh -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/trustelem/zxcvbn 2 | -------------------------------------------------------------------------------- /internal/mathutils/mathutils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/internal/mathutils/mathutils.go -------------------------------------------------------------------------------- /internal/mathutils/mathutils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/internal/mathutils/mathutils_test.go -------------------------------------------------------------------------------- /match/match.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/match/match.go -------------------------------------------------------------------------------- /match/match_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/match/match_test.go -------------------------------------------------------------------------------- /match/sort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/match/sort.go -------------------------------------------------------------------------------- /match/sort_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/match/sort_test.go -------------------------------------------------------------------------------- /matching/date.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/date.go -------------------------------------------------------------------------------- /matching/date_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/date_test.go -------------------------------------------------------------------------------- /matching/dictionary.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/dictionary.go -------------------------------------------------------------------------------- /matching/dictionary_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/dictionary_test.go -------------------------------------------------------------------------------- /matching/leet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/leet.go -------------------------------------------------------------------------------- /matching/leet_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/leet_test.go -------------------------------------------------------------------------------- /matching/matching_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/matching_test.go -------------------------------------------------------------------------------- /matching/omnimatch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/omnimatch.go -------------------------------------------------------------------------------- /matching/omnimatch_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/omnimatch_test.go -------------------------------------------------------------------------------- /matching/regexp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/regexp.go -------------------------------------------------------------------------------- /matching/regexp_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/regexp_test.go -------------------------------------------------------------------------------- /matching/repeat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/repeat.go -------------------------------------------------------------------------------- /matching/repeat_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/repeat_test.go -------------------------------------------------------------------------------- /matching/reverse_dictionnary.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/reverse_dictionnary.go -------------------------------------------------------------------------------- /matching/reverse_dictionnary_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/reverse_dictionnary_test.go -------------------------------------------------------------------------------- /matching/sequence.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/sequence.go -------------------------------------------------------------------------------- /matching/sequence_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/sequence_test.go -------------------------------------------------------------------------------- /matching/spatial.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/spatial.go -------------------------------------------------------------------------------- /matching/spatial_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/matching/spatial_test.go -------------------------------------------------------------------------------- /scoring/guesses.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/scoring/guesses.go -------------------------------------------------------------------------------- /scoring/guesses_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/scoring/guesses_test.go -------------------------------------------------------------------------------- /scoring/scoring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/scoring/scoring.go -------------------------------------------------------------------------------- /scoring/scoring_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/scoring/scoring_test.go -------------------------------------------------------------------------------- /testdata/gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/testdata/gen.sh -------------------------------------------------------------------------------- /testdata/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/testdata/output.json -------------------------------------------------------------------------------- /time_estimate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/time_estimate.go -------------------------------------------------------------------------------- /time_estimate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/time_estimate_test.go -------------------------------------------------------------------------------- /zxcvbn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/zxcvbn.go -------------------------------------------------------------------------------- /zxcvbn_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stytchauth/zxcvbn/HEAD/zxcvbn_test.go --------------------------------------------------------------------------------