xiebaomin 213d86429b updated hai 1 ano
..
lib 213d86429b updated hai 1 ano
node_modules 213d86429b updated hai 1 ano
.travis.yml 213d86429b updated hai 1 ano
LICENSE 213d86429b updated hai 1 ano
browser.js 213d86429b updated hai 1 ano
index.js 213d86429b updated hai 1 ano
package.json 213d86429b updated hai 1 ano
readme.md 213d86429b updated hai 1 ano

readme.md

diffie hellman Build Status

pure js diffie-hellman, same api as node, most hard parts thanks to bn.js by @indutny. In node just returns an object with crypto.createDiffieHellman and crypto.getDiffieHellman in the browser returns a shim. To require the pure JavaScript one in node require('diffie-hellman/browser');;