summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-05-13 20:06:20 -0400
committerTim Graham <timograham@gmail.com>2018-05-13 20:06:20 -0400
commitcae010728763e0e716b87f4ccd8b3fa54eb20602 (patch)
treeb84eb0575e488da7e84c1bd3a46bc4fab154efb4 /django
parent31ce1f74334add625a4ed82b531d769828237882 (diff)
Increased the default PBKDF2 iterations for Django 2.1.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/auth/hashers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py
index 75664836dc..55568de6d6 100644
--- a/django/contrib/auth/hashers.py
+++ b/django/contrib/auth/hashers.py
@@ -236,7 +236,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher):
safely but you must rename the algorithm if you change SHA256.
"""
algorithm = "pbkdf2_sha256"
- iterations = 100000
+ iterations = 120000
digest = hashlib.sha256
def encode(self, password, salt, iterations=None):