1.0.4 • Published 7 years ago

passwort v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

View on NPM

Installation

npm install passwort --save

Example Usage

var passwort = require('passwort');

var pw = passwort.create({
  algorithm: 'sha1'
});

var input = 'passwort';

var hash = await pw.hash(input);
var matches = await pw.verify(input, hash);

console.log('input =', input);
console.log('hash =', hash);
console.log('matching =', match?'yes':'no');
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago