张进 8c84c6aa40 falst 1 year ago
..
lib 8c84c6aa40 falst 1 year ago
.travis.yml 8c84c6aa40 falst 1 year ago
LICENSE 8c84c6aa40 falst 1 year ago
browser.js 8c84c6aa40 falst 1 year ago
index.js 8c84c6aa40 falst 1 year ago
package.json 8c84c6aa40 falst 1 year ago
readme.md 8c84c6aa40 falst 1 year ago

readme.md

diffie hellman Build Status

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');;