Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 
Guillaume Vincent 70bebd5e5b update encryptLogin API 8 anni fa
lib update build 8 anni fa
tests update encryptLogin API 8 anni fa
.gitignore upgrade to node 6 LTS 8 anni fa
.travis.yml upgrade to node 6 LTS 8 anni fa
ISSUE_TEMPLATE update ISSUE_TEMPLATE file 8 anni fa
LICENSE change license from MIT to GNU GPLv3 8 anni fa
index.js update encryptLogin API 8 anni fa
package.json remove ava to use same test suite with webcrypto 8 anni fa
readme.md change license from MIT to GNU GPLv3 8 anni fa

readme.md

Build Status

core library for LessPass password manager in javascript used to generate unique password.

Requirements

  • node LTS v6

Install

npm install lesspass

Usage

var LessPass = require('lesspass');

var site = 'lesspass.com';
var login = 'contact@lesspass.com';
var masterPassword = 'password';
var options = {
    counter: 1,
    length: 12,
    lowercase: true,
    uppercase: true,
    numbers: true,
    symbols: true
};

LessPass.encryptLogin(login, masterPassword).then(encryptedLogin => {
    LessPass.renderPassword(encryptedLogin, site, options).then(generatedPassword => {
         console.log(generatedPassword); //azYS7,olOL2]
    });
});

see tests/api.tests.js for more examples

Tests

npm test

License

This project is licensed under the terms of the GNU GPLv3.

Issues

report issues on LessPass project