[Python-Dev] cpython: Issue #18582: provide a faster C implementation of pbkdf2_hmac that works with (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Sat Oct 19 14:54:17 CEST 2013


On Sat, 19 Oct 2013 14:25:28 +0200 (CEST) christian.heimes <python-checkins at python.org> wrote:

- .. note:: A fast implementation of pbkdf2hmac is only available with - OpenSSL 1.0 and newer. The Python implementation uses an inline - version of :mod:hmac and is about three times slower. Contrary to - OpenSSL's current code the length of the password has only a minimal - impact on the runtime of the Python implementation. + .. note:: A fast implementation of pbkdf2hmac is available with OpenSSL. + The Python implementation uses an inline version of :mod:hmac. It is + about three times slower and doesn't release the GIL.

The documentation should stop talking about the Python implementation if the C implementation is always used by default.

Regards

Antoine.



More information about the Python-Dev mailing list