wuxiang da9bc82d52 commit 2 år sedan
..
lib da9bc82d52 commit 2 år sedan
node_modules da9bc82d52 commit 2 år sedan
.travis.yml da9bc82d52 commit 2 år sedan
LICENSE da9bc82d52 commit 2 år sedan
browser.js da9bc82d52 commit 2 år sedan
index.js da9bc82d52 commit 2 år sedan
package.json da9bc82d52 commit 2 år sedan
readme.md da9bc82d52 commit 2 år sedan

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