diff options
| author | Tim Graham <timograham@gmail.com> | 2017-01-17 09:54:04 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-17 20:52:05 -0500 |
| commit | 0bf3228eecca5658066b2eed47620fcbac9fd05c (patch) | |
| tree | eaae6b58df084ffae1c00a9069076f15456ac645 /django | |
| parent | f8473082004ccdc764ad08beeb7c2a17b238dc85 (diff) | |
Increased the default PBKDF2 iterations for the 1.11 release cycle.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/auth/hashers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/hashers.py b/django/contrib/auth/hashers.py index 8056ec010a..c29b27d64b 100644 --- a/django/contrib/auth/hashers.py +++ b/django/contrib/auth/hashers.py @@ -247,7 +247,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher): safely but you must rename the algorithm if you change SHA256. """ algorithm = "pbkdf2_sha256" - iterations = 36000 + iterations = 100000 digest = hashlib.sha256 def encode(self, password, salt, iterations=None): |
