cone-of-silence

1.0.2 • Public • Published

cone-of-silence

encrypts and decrypts javascript objects using private-box, in node or the browser

installation

npm install cone-of-silence

usage

var cone = require('cone-of-silence')
 
var bob = cone.keypair()
var alice = cone.keypair()
var msg = {
  muy: 'buena',
  onda: null,
}
var encrypted = cone.encrypt(msg, [bob.publicKey, alice.publi    cKey])
var decrypted = cone.decrypt(encrypted, alice.secretKey)

license

BSD

Readme

Keywords

none

Package Sidebar

Install

npm i cone-of-silence

Weekly Downloads

1

Version

1.0.2

License

BSD-3-Clause

Last publish

Collaborators

  • elsehow