Kaydet (Commit) 875ce287 authored tarafından Alex Gaynor's avatar Alex Gaynor

Note that the stdlib's version of pbkdf2_hmac will also be used in the upcoming…

Note that the stdlib's version of pbkdf2_hmac will also be used in the upcoming Python 2.7.8 release
üst a31d7c48
...@@ -128,7 +128,7 @@ if hasattr(hashlib, "pbkdf2_hmac"): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment