caoge c760052ff9 机车状态修改 | 8 mesi fa | |
---|---|---|
.. | ||
lib | 8 mesi fa | |
node_modules | 8 mesi fa | |
.travis.yml | 8 mesi fa | |
LICENSE | 8 mesi fa | |
browser.js | 8 mesi fa | |
index.js | 8 mesi fa | |
package.json | 8 mesi fa | |
readme.md | 8 mesi fa |
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');
;