Skip to content

loveencounterflow/coffeenode-zxcvbn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoffeeNode ZXCVBN

Derived from node-zxcvbn, which itself is zxcvbn, a password strength calculator, packaged as a node.js module. Authored by Dan Wheeler at Dropbox; published to npm by Michael Smith.

See the original for more details.

This module has the distinction to include all files resulting from various build steps that are not terribly obvious even from the original README. The JS code that you get with require( 'coffeenode-zxcvbn' ) is optimized using the ClosureJS compiler, resulting in a filesize of roughly 700MB.

How to use

In CoffeeScript:

zxcvbn = require 'coffeenode-zxcvbn'
report = zxcvbn password

report is a Plain Old Dictionary; the interesting attributes are report[ 'crack_time_display' ], report[ 'crack_time' ], report[ 'score' ], and report[ 'entropy' ]; please refer to the original documentation linked above.

About

realistic password strength estimation (for node.js)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 72.2%
  • Python 24.5%
  • Shell 3.2%
  • JavaScript 0.1%