python Diffie Hellman standard library

user3713847 picture user3713847 · Nov 25, 2015 · Viewed 8.4k times · Source

Is there a standard library for python that implements diffie helman? I've taken a look at openssl wrapper in python pyopenssl and it doesn't cover it. I could not find it in NaCl or cryptography.io library either.

Answer

Minister of Propoganda II picture Minister of Propoganda II · Nov 25, 2015

I have been looking for this as well. As far as I know, No, there are no standard libraries at this time.

Though you can refer to this post for a simple implementation.

Or this github page for a more developed poc

Edit: There appears to be a library for Diffie-Hellman now.