vlad 6f123ff03e 18.07 | il y a 6 ans | |
---|---|---|
.. | ||
lib | il y a 6 ans | |
.travis.yml | il y a 6 ans | |
LICENSE | il y a 6 ans | |
browser.js | il y a 6 ans | |
index.js | il y a 6 ans | |
package.json | il y a 6 ans | |
readme.md | il y a 6 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');
;