Daniel Hübleitner 615619e6e7 start werk | 5 gadus atpakaļ | |
---|---|---|
.. | ||
lib | 5 gadus atpakaļ | |
.travis.yml | 5 gadus atpakaļ | |
LICENSE | 5 gadus atpakaļ | |
browser.js | 5 gadus atpakaļ | |
index.js | 5 gadus atpakaļ | |
package.json | 5 gadus atpakaļ | |
readme.md | 5 gadus atpakaļ |
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');
;