yuanhao b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
..
lib b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
node_modules b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
.travis.yml b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
LICENSE b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
browser.js b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
index.js b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
package.json b574408fd7 first commit %!s(int64=3) %!d(string=hai) anos
readme.md b574408fd7 first commit %!s(int64=3) %!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');;