yrik 0fb20a58e3 提交 4 lat temu
..
lib eec7f449c9 first commit 4 lat temu
node_modules 0fb20a58e3 提交 4 lat temu
.travis.yml eec7f449c9 first commit 4 lat temu
LICENSE eec7f449c9 first commit 4 lat temu
browser.js eec7f449c9 first commit 4 lat temu
index.js eec7f449c9 first commit 4 lat temu
package.json 0fb20a58e3 提交 4 lat temu
readme.md eec7f449c9 first commit 4 lat temu

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