1.0.2 • Published 3 years ago

crypto-ecdh v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago