|
||||
---|---|---|---|---|
.. | ||||
lib | 11e3a9652a | 7 anni fa | ||
.npmignore | 11e3a9652a | 7 anni fa | ||
.travis.yml | 11e3a9652a | 7 anni fa | ||
browser.js | 11e3a9652a | 7 anni fa | ||
index.js | 11e3a9652a | 7 anni fa | ||
package.json | 11e3a9652a | 7 anni fa | ||
readme.md | 11e3a9652a | 7 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');
;