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