小宝贝 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
..
lib 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
node_modules 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
.travis.yml 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
LICENSE 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
browser.js 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
index.js 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
package.json 2332bb7261 node %!s(int64=2) %!d(string=hai) anos
readme.md 2332bb7261 node %!s(int64=2) %!d(string=hai) anos

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