Illia Kozyr c722a49f64 React Project DONE | 2 年之前 | |
---|---|---|
.. | ||
lib | 2 年之前 | |
node_modules | 2 年之前 | |
.travis.yml | 2 年之前 | |
LICENSE | 2 年之前 | |
browser.js | 2 年之前 | |
index.js | 2 年之前 | |
package.json | 2 年之前 | |
readme.md | 2 年之前 |
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');
;