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

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