This commit is contained in:
Alex Gaynor 2014-04-17 11:04:57 -07:00
parent cb68eb3e6d
commit 21a1fddcc4
1 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,8 @@ def _long_to_bin(x, hex_format_string):
if hasattr(hashlib, "pbkdf2_hmac"): if hasattr(hashlib, "pbkdf2_hmac"):
def pbkdf2(password, salt, iterations, dklen=0, digest=None): def pbkdf2(password, salt, iterations, dklen=0, digest=None):
""" """
Implements PBDF2 with the same API as Django's existing implementation, Implements PBKDF2 with the same API as Django's existing
using the stdlib. implementation, using the stdlib.
This is used in Python 3.4 and up. This is used in Python 3.4 and up.
""" """