1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00
This commit is contained in:
Alex Gaynor 2014-04-17 11:04:57 -07:00
parent cb68eb3e6d
commit 21a1fddcc4

View File

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