vlad 6f123ff03e 18.07 | 6 anni fa | |
---|---|---|
.. | ||
lib | 6 anni fa | |
.travis.yml | 6 anni fa | |
LICENSE | 6 anni fa | |
browser.js | 6 anni fa | |
index.js | 6 anni fa | |
package.json | 6 anni fa | |
readme.md | 6 anni 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');
;