Eric Foster 35b96bc934 initial commit | 6 years ago | |
---|---|---|
.. | ||
lib | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
browser.js | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years 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');
;