Easy ECDH
npm install crypto-ecdhsh
yarn add crypto-ecdh
`
usage
`js
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
$3
`sh
npm i -g backed-cli
`
$3
`sh
backed -b
``