https://github.com/browserify/diffie-hellman
pure js diffie-hellman
https://github.com/browserify/diffie-hellman
Last synced: 10 months ago
JSON representation
pure js diffie-hellman
- Host: GitHub
- URL: https://github.com/browserify/diffie-hellman
- Owner: browserify
- License: mit
- Created: 2014-11-02T22:50:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-12-21T09:34:19.000Z (about 1 year ago)
- Last Synced: 2025-03-29T12:07:40.611Z (11 months ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 96
- Watchers: 8
- Forks: 27
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
diffie hellman [](https://travis-ci.org/crypto-browserify/diffie-hellman)
====
pure js diffie-hellman, same api as node, most hard parts thanks to [bn.js](https://www.npmjs.org/package/bn.js) by [@indutny](https://github.com/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');`;