mirror of
https://github.com/django/django.git
synced 2025-01-25 09:39:23 +00:00
[1.10.x] Fixed a typo in auth docs.
Backport of 6d61ec0e1a4eb5768be5add9e1c44c89dacbfa7e from master
This commit is contained in:
parent
2847b22f29
commit
aa777cdaaa
@ -146,7 +146,7 @@ algorithm.
|
|||||||
that ``bcrypt(password_with_100_chars) == bcrypt(password_with_100_chars[:72])``.
|
that ``bcrypt(password_with_100_chars) == bcrypt(password_with_100_chars[:72])``.
|
||||||
The original ``BCryptPasswordHasher`` does not have any special handling and
|
The original ``BCryptPasswordHasher`` does not have any special handling and
|
||||||
thus is also subject to this hidden password length limit.
|
thus is also subject to this hidden password length limit.
|
||||||
``BCryptSHA256PasswordHasher`` fixes this by first first hashing the
|
``BCryptSHA256PasswordHasher`` fixes this by first hashing the
|
||||||
password using sha256. This prevents the password truncation and so should
|
password using sha256. This prevents the password truncation and so should
|
||||||
be preferred over the ``BCryptPasswordHasher``. The practical ramification
|
be preferred over the ``BCryptPasswordHasher``. The practical ramification
|
||||||
of this truncation is pretty marginal as the average user does not have a
|
of this truncation is pretty marginal as the average user does not have a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user