Fixed PBKDF2PasswordHasher comments to reflect reality.

This commit is contained in:
Frank Wiles 2015-02-20 14:31:00 -06:00 committed by Simon Charette
parent bad5f262bf
commit e43f99d1a9
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class PBKDF2PasswordHasher(BasePasswordHasher):
""" """
Secure password hashing using the PBKDF2 algorithm (recommended) 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 The result is a 64 byte binary string. Iterations may be changed
safely but you must rename the algorithm if you change SHA256. safely but you must rename the algorithm if you change SHA256.
""" """