Daniel Hübleitner 615619e6e7 start werk | il y a 5 ans | |
---|---|---|
.. | ||
lib | il y a 5 ans | |
.travis.yml | il y a 5 ans | |
LICENSE | il y a 5 ans | |
browser.js | il y a 5 ans | |
index.js | il y a 5 ans | |
package.json | il y a 5 ans | |
readme.md | il y a 5 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');
;