summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Wiles <frank@revsys.com>2015-02-20 14:31:00 -0600
committerSimon Charette <charette.s@gmail.com>2015-02-20 16:00:51 -0500
commite43f99d1a9997d51fa922bbb94225bbf4e73cb9d (patch)
tree753a77c74606ce4fb723aa8df30eb4828f37329f
parentbad5f262bf4a17f157808ec1aa225ba9c94c1eee (diff)
Fixed PBKDF2PasswordHasher comments to reflect reality.
-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 59676f6562..9aac881643 100644
--- a/django/contrib/auth/hashers.py
+++ b/django/contrib/auth/hashers.py
@@ -221,7 +221,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher):
"""
Secure password hashing using the PBKDF2 algorithm (recommended)
- Configured to use PBKDF2 + HMAC + SHA256 with 20000 iterations.
+ Configured to use PBKDF2 + HMAC + SHA256 with 24000 iterations.
The result is a 64 byte binary string. Iterations may be changed
safely but you must rename the algorithm if you change SHA256.
"""