python Diffie Hellman 标准库

python Diffie Hellman standard library

python 有实现 diffie helman 的标准库吗? 我已经查看了 python pyopenssl 中的 openssl 包装器,但它没有涵盖它。 我也无法在 NaCl 或 cryptography.io 库中找到它。

我也在找这个。据我所知,不,目前还没有标准库。

虽然你可以参考这个 post simple implementation.

或此 github 页面以获得更完善的 poc

编辑:似乎有一个 Diffie-Hellman 库 now.

另一个库,似乎更及时 https://pypi.org/project/pyDH/ 最新提交于 2019 年