keybase-generator
v2.0.0
Published
Generate private keys based on kbpgp
Downloads
46
Maintainers
Readme
keybase-generator
🔑 Using kbpgp to generate private keys
Install
$ npm install keybase-generator --save
Usage
const generator = require('keybase-generator')
try {
const password = 'password'
const userId = 'Jose Aguinaga <[email protected]>'
generator(userid, password).then((keypair) => {
console.log('Private Key', keypair.privateKey)
console.log('Public Key', keypair.publicKey)
})
} catch(err) {
console.log('There was an error generating the keys', err)
}
Related
E.nigma - 🔐 e.nigma.pw / generatorion toolbox utility
License
MIT © Jose Aguinaga