keybase-generator

2.0.0 • Public • Published

keybase-generator Build Status

js-standard-style

🔑 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 <me@jjperezaguinaga.com>'
 
  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

Package Sidebar

Install

npm i keybase-generator

Weekly Downloads

8

Version

2.0.0

License

MIT

Last publish

Collaborators

  • jjperezaguinaga