Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (6 sloc) 0.246 kB
assert = require 'assert'
pw = require './src'
# Generate 100 random passwords
password = for i in [1..100] then new Buffer(Math.random() + '').toString 'base64'
for p in password
assert.ok pw.verifyPassword p, pw.makePassword p, 12, 'sha512'
Jump to Line
Something went wrong with that request. Please try again.