@webful/passwordmaker-lib

0.1.6 • Public • Published

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`~!@#$%^&*()_-+={}|[]\\:";\'<>?,./',
}));

/@webful/passwordmaker-lib/

    Package Sidebar

    Install

    npm i @webful/passwordmaker-lib

    Weekly Downloads

    1

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    16.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • noellh