|
|
3 жил өмнө | |
|---|---|---|
| .. | ||
| lib | 3 жил өмнө | |
| node_modules | 3 жил өмнө | |
| .travis.yml | 3 жил өмнө | |
| LICENSE | 3 жил өмнө | |
| browser.js | 3 жил өмнө | |
| index.js | 3 жил өмнө | |
| package.json | 3 жил өмнө | |
| readme.md | 3 жил өмнө | |
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');;