Note that the stdlib's version of pbkdf2_hmac will also be used in the upcoming Python 2.7.8 release

This commit is contained in:
Alex Gaynor 2014-05-31 13:50:07 -07:00
parent a31d7c48b0
commit 875ce287e2
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ if hasattr(hashlib, "pbkdf2_hmac"):
Implements PBKDF2 with the same API as Django's existing
implementation, using the stdlib.
This is used in Python 3.4 and up.
This is used in Python 2.7.8+ and 3.4+.
"""
if digest is None:
digest = hashlib.sha256