yuanhao b574408fd7 first commit 3 rokov pred
..
lib b574408fd7 first commit 3 rokov pred
node_modules b574408fd7 first commit 3 rokov pred
.travis.yml b574408fd7 first commit 3 rokov pred
LICENSE b574408fd7 first commit 3 rokov pred
browser.js b574408fd7 first commit 3 rokov pred
index.js b574408fd7 first commit 3 rokov pred
package.json b574408fd7 first commit 3 rokov pred
readme.md b574408fd7 first commit 3 rokov pred

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