line_push/node_modules/diffie-hellman
2022-07-17 13:16:16 +08:00
..
lib add file 2022-07-17 13:16:16 +08:00
node_modules/bn.js add file 2022-07-17 13:16:16 +08:00
.travis.yml add file 2022-07-17 13:16:16 +08:00
browser.js add file 2022-07-17 13:16:16 +08:00
index.js add file 2022-07-17 13:16:16 +08:00
LICENSE add file 2022-07-17 13:16:16 +08:00
package.json add file 2022-07-17 13:16:16 +08:00
readme.md add file 2022-07-17 13:16:16 +08:00

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