lihai 8d6c751f49 feat: push | il y a 2 ans | |
---|---|---|
.. | ||
lib | il y a 2 ans | |
.travis.yml | il y a 2 ans | |
LICENSE | il y a 2 ans | |
browser.js | il y a 2 ans | |
index.js | il y a 2 ans | |
package.json | il y a 2 ans | |
readme.md | il y a 2 ans |
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');
;