Kevin 29b9a0c50c clean && clean html base | 4 years ago | |
---|---|---|
.. | ||
lib | 4 years ago | |
node_modules | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
browser.js | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 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');
;