Skip to content
A 2019 version of zxcvbn, directly written in a more modern JavaScript, not transpiled from CoffeeScript.
Branch: master
Clone or download
Daniel Glazman
Daniel Glazman typo fix in en-US L10N
Latest commit 77d8044 Jul 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src typo fix in en-US L10N Jul 9, 2019
LICENSE.txt License inherited from original zxcvbn Jun 17, 2019
README.md link to original zxcvbn Jul 1, 2019
demo.html better demo Jul 1, 2019

README.md

zxcvbn-pv

A 2019 version of Dropbox's zxcvbn, directly written in a more modern JavaScript, not transpiled from CoffeeScript. Work done by Privowny.

Warning this is a work in progress and must not be used in production (yet)

Bonuses:

  1. localized in english and french (see locales.js)
  2. internationalized (see frequency_lists.js for dictionaries and adjacency_graphs.js for keyboards). AZERTY fr-FR keyboard added. fr-FR ordered list of names and surnames added.
  3. checks password against HaveIBeenPwned before calling original zxcvbn matching/scoring. Reports a -1 score if password has leaked.
  4. cleaner JS
  5. added male_names, female_names, surnames and wikipedia lists of most used words for fr-FR

See demo.html file for usage (warning, code uses crypto.subtle for SHA-1 digest and that can't be used, in Chrome, over http ; you must use it locally, inside a WebExtension or over https; Firefox has no such issue)

You can’t perform that action at this time.