peach a19a732be8 commit message | il y a 2 ans | |
---|---|---|
.. | ||
lib | il y a 2 ans | |
node_modules | 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');
;