outaozhen bb52c63d7d 库提交 5 years atrás
..
lib bb52c63d7d 库提交 5 years atrás
.travis.yml bb52c63d7d 库提交 5 years atrás
LICENSE bb52c63d7d 库提交 5 years atrás
browser.js bb52c63d7d 库提交 5 years atrás
index.js bb52c63d7d 库提交 5 years atrás
package.json bb52c63d7d 库提交 5 years atrás
readme.md bb52c63d7d 库提交 5 years atrás

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