From 09678ae7e11290e6e20a13742cfa7a5290013369 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 17 Sep 2021 05:56:13 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - zxcvbn/scoring.py - zxcvbn/scripts/build_frequency_lists.py Fixes: - Should read `occurrence` rather than `occurance`. - Should read `infeasible` rather than `infeasable`. --- zxcvbn/scoring.py | 2 +- zxcvbn/scripts/build_frequency_lists.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zxcvbn/scoring.py b/zxcvbn/scoring.py index 8903f53..1e608dc 100644 --- a/zxcvbn/scoring.py +++ b/zxcvbn/scoring.py @@ -131,7 +131,7 @@ def round_to_x_digits(number, digits): # # assumes: # * passwords are stored as salted hashes, different random salt per user. -# (making rainbow attacks infeasable.) +# (making rainbow attacks infeasible.) # * hashes and salts were stolen. attacker is guessing passwords at max rate. # * attacker has several CPUs at their disposal. # ------------------------------------------------------------------------------ diff --git a/zxcvbn/scripts/build_frequency_lists.py b/zxcvbn/scripts/build_frequency_lists.py index 60c61ab..94c27e1 100644 --- a/zxcvbn/scripts/build_frequency_lists.py +++ b/zxcvbn/scripts/build_frequency_lists.py @@ -14,7 +14,7 @@ def get_ranked_english(): ''' - wikitionary has a list of ~40k English words, ranked by frequency of occurance in TV and movie transcripts. + wikitionary has a list of ~40k English words, ranked by frequency of occurrence in TV and movie transcripts. more details at: http://en.wiktionary.org/wiki/Wiktionary:Frequency_lists/TV/2006/explanation