lhl 6ff0e96ad3 8-4-1 | 1 year ago | |
---|---|---|
.. | ||
lib | 1 year ago | |
node_modules | 1 year ago | |
.travis.yml | 1 year ago | |
LICENSE | 1 year ago | |
browser.js | 1 year ago | |
index.js | 1 year ago | |
package.json | 1 year ago | |
readme.md | 1 year ago |
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');
;