mirror of https://github.com/django/django.git
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:
parent
a31d7c48b0
commit
875ce287e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue