Irina Glushko 2389e7160b HW1 done | 3 سال پیش | |
---|---|---|
.. | ||
lib | 3 سال پیش | |
node_modules | 3 سال پیش | |
.travis.yml | 3 سال پیش | |
LICENSE | 3 سال پیش | |
browser.js | 3 سال پیش | |
index.js | 3 سال پیش | |
package.json | 3 سال پیش | |
readme.md | 3 سال پیش |
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');
;