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');
;
-
jatuporn Tonggasem authoredcb5cc119
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
lib | work yui | |
.travis.yml | work yui | |
LICENSE | work yui | |
browser.js | work yui | |
index.js | work yui | |
package.json | work yui | |
readme.md | work yui |