Skip to content

webful-ltd/passwordmaker-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passwordmaker-lib

Build Status

A library for Password Maker.

Forked from emersion/node-passwordmarker, with tweaks to allow client-side use without Browserify.

Key changes:

  • Switched from Node's Crypto module to crypto-js.
  • Dropped MD4 support, as it's not included in that library.

Usage

var makePassword = require('@webful/passwordmaker-lib');

console.log(makePassword({
	hashAlgorithm: 'hmac-sha256',
	masterPassword: 'MySuperStrongMasterPassword',
	data: 'example.org',
	length: 15,
	charset: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()_-+={}|[]\\:";\'<>?,./',
}));

About

A client-side-friendly library for PasswordMaker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%