summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-10-19 12:12:02 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-10-19 12:12:02 (GMT)
commit3626a505dbffc5539888bfdb596dc20560f0d2a1 (patch)
treebc612b09b26216a1db2a248490887b4b7a191574 /Doc
parenta412f763b36250cc8c9c521a7c9a7e3a2a3ba58c (diff)
downloadcpython-3626a505dbffc5539888bfdb596dc20560f0d2a1.zip
cpython-3626a505dbffc5539888bfdb596dc20560f0d2a1.tar.gz
cpython-3626a505dbffc5539888bfdb596dc20560f0d2a1.tar.bz2
Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/hashlib.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 3bf30bb..677d530 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -212,7 +212,11 @@ slow and include a salt.
.. versionadded:: 3.4
- .. note:: *pbkdf2_hmac* is only available with OpenSSL 1.0 and newer.
+ .. note:: A fast implementation of *pbkdf2_hmac* 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.
.. seealso::