I've implemented Diffie-Hellman support in the crypto module, utilizing OpenSSL. Would you consider the patch for inclusion? I am uncertain as to whether you require more information than this pull request. If so, please let me know.
Add Diffie-Hellman support to crypto module
Can you add a test?
Diffie-Hellman: Added test, fixed bugs, added encoding/decoding of pa…
…rameters similar to other crypto functions
Let me know if you need anything else.
Diffie-Hellman: Added set/get public/private key for API completeness…
…, added tests, updated documentation
Sorry, can you please fix the style. In particular the long lines:
python tools/cpplint.py src/node_crypto.cc
Please start with this patch: https://gist.github.com/815320
Linted Diffie-Hellman parts of node_crypto.cc
Same commit as patch ready for application on top of your rebased patch: https://gist.github.com/817133. Or, you can cherry-pick the last commit (which was cherry-picked onto master from a branch started from your rebased patch).