xiebaomin 213d86429b updated il y a 1 an
..
lib 213d86429b updated il y a 1 an
node_modules 213d86429b updated il y a 1 an
.travis.yml 213d86429b updated il y a 1 an
LICENSE 213d86429b updated il y a 1 an
browser.js 213d86429b updated il y a 1 an
index.js 213d86429b updated il y a 1 an
package.json 213d86429b updated il y a 1 an
readme.md 213d86429b updated il y a 1 an

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');;