|
|
пре 2 година | |
|---|---|---|
| .. | ||
| lib | пре 2 година | |
| node_modules | пре 2 година | |
| .travis.yml | пре 2 година | |
| LICENSE | пре 2 година | |
| browser.js | пре 2 година | |
| index.js | пре 2 година | |
| package.json | пре 2 година | |
| readme.md | пре 2 година | |
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');;