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');
;
-
Kriengkrai Yothee authoredb549a91e
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
lib | Source_Code | |
node_modules/bn.js | Source_Code | |
.travis.yml | Source_Code | |
LICENSE | Source_Code | |
browser.js | Source_Code | |
index.js | Source_Code | |
package.json | Source_Code | |
readme.md | Source_Code |