summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-09-19 20:42:44 -0400
committerTim Graham <timograham@gmail.com>2015-09-23 19:31:11 -0400
commit593c9eb6608c660f9e2c1ade227670539ececd8e (patch)
treedbcff6f188e9bda49aa3c2b3a265402f2accdc84 /django
parent54848a96dd4a196e81f3d71c61caf84ea8b49f4e (diff)
Increased the default PBKDF2 iterations for the 1.10 release cycle.
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 3d585be5cc..1a9ca4bd3e 100644
--- a/django/contrib/auth/hashers.py
+++ b/django/contrib/auth/hashers.py
@@ -226,7 +226,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher):
safely but you must rename the algorithm if you change SHA256.
"""
algorithm = "pbkdf2_sha256"
- iterations = 24000
+ iterations = 30000
digest = hashlib.sha256
def encode(self, password, salt, iterations=None):