Eric Foster d5378345de connection between front end and database | 6 лет назад | |
---|---|---|
.. | ||
lib | 6 лет назад | |
.travis.yml | 6 лет назад | |
LICENSE | 6 лет назад | |
browser.js | 6 лет назад | |
index.js | 6 лет назад | |
package.json | 6 лет назад | |
readme.md | 6 лет назад |
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');
;