1.0.2 • Published 4 years ago

crypto-ecdh v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

crypto-ecdh

Travis branch GitHub Workflow Status npm David npm

install

  yarn add crypto-ecdh

usage

const client = ecdh();
const server = ecdh();

const sharedClient = client.derive(server.public);
const sharedServer = server.derive(client.public);

client.encrypt('this is a test')
  .then(cipher => server.decrypt(cipher))
  .then(data => tape.equal(data, 'this is a test', 'encrypt/decrypt'))

development

install builder/compiler

npm i -g backed-cli

build

backed -b
1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago