|
|
před 3 roky | |
|---|---|---|
| .. | ||
| lib | před 3 roky | |
| node_modules | před 3 roky | |
| .travis.yml | před 3 roky | |
| LICENSE | před 3 roky | |
| browser.js | před 3 roky | |
| index.js | před 3 roky | |
| package.json | před 3 roky | |
| readme.md | před 3 roky | |
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');;