diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-09-12 11:46:37 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton@noumenal.es> | 2019-09-12 17:24:01 +0200 |
| commit | b5db65c4fbcf05cb03d039166abf115930dc7577 (patch) | |
| tree | 7fe98509219c23c9dbe9f14ad5a9aa0caa782db6 /django | |
| parent | 4b63d45d5437c71cc7958e4848eed03391de9f41 (diff) | |
Increased the default PBKDF2 iterations for Django 3.1.
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 34caa4eba9..dac1ceacf6 100644 --- a/django/contrib/auth/hashers.py +++ b/django/contrib/auth/hashers.py @@ -235,7 +235,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher): safely but you must rename the algorithm if you change SHA256. """ algorithm = "pbkdf2_sha256" - iterations = 180000 + iterations = 216000 digest = hashlib.sha256 def encode(self, password, salt, iterations=None): |
