peach a19a732be8 commit message 2 lat temu
..
lib a19a732be8 commit message 2 lat temu
node_modules a19a732be8 commit message 2 lat temu
.travis.yml a19a732be8 commit message 2 lat temu
LICENSE a19a732be8 commit message 2 lat temu
browser.js a19a732be8 commit message 2 lat temu
index.js a19a732be8 commit message 2 lat temu
package.json a19a732be8 commit message 2 lat temu
readme.md a19a732be8 commit message 2 lat temu

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