Browse Source

Fixed #34017 -- Doc'd that Argon2id variant is used by Argon2PasswordHasher.

Ritik Soni 2 years ago
parent
commit
c11336cd99
1 changed files with 3 additions and 2 deletions
  1. 3 2
      docs/topics/auth/passwords.txt

+ 3 - 2
docs/topics/auth/passwords.txt

@@ -83,13 +83,14 @@ Using Argon2 with Django
 Argon2_ is the winner of the 2015 `Password Hashing Competition`_, a community
 organized open competition to select a next generation hashing algorithm. It's
 designed not to be easier to compute on custom hardware than it is to compute
-on an ordinary CPU.
+on an ordinary CPU. The default variant for the Argon2 password hasher is
+Argon2id.
 
 Argon2_ is not the default for Django because it requires a third-party
 library. The Password Hashing Competition panel, however, recommends immediate
 use of Argon2 rather than the other algorithms supported by Django.
 
-To use Argon2 as your default storage algorithm, do the following:
+To use Argon2id as your default storage algorithm, do the following:
 
 #. Install the `argon2-cffi library`_.  This can be done by running
    ``python -m pip install django[argon2]``, which is equivalent to