1
0
mirror of https://github.com/django/django.git synced 2025-02-10 01:16:53 +00:00

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

View File

@ -128,7 +128,7 @@ if hasattr(hashlib, "pbkdf2_hmac"):
Implements PBKDF2 with the same API as Django's existing Implements PBKDF2 with the same API as Django's existing
implementation, using the stdlib. 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: if digest is None:
digest = hashlib.sha256 digest = hashlib.sha256