File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ New in Python 3.3.
8484
8585``methods ``
8686 A list of available password hashing algorithms, as
87- ``crypt .METHOD_* `` objects. This list is sorted from strongest to
87+ ``crypt_r .METHOD_* `` objects. This list is sorted from strongest to
8888 weakest.
8989
9090
@@ -96,7 +96,7 @@ The ``crypt_r`` module defines the following functions:
9696``crypt(word, salt=None) ``
9797 *word * will usually be a user's password as typed at a prompt or in a graphical
9898 interface. The optional *salt * is either a string as returned from
99- ``mksalt() ``, one of the ``crypt .METHOD_* `` values (though not all
99+ ``mksalt() ``, one of the ``crypt_r .METHOD_* `` values (though not all
100100 may be available on all platforms), or a full encrypted password
101101 including salt, as returned by this function. If *salt * is not
102102 provided, the strongest method available in ``methods `` will be used.
@@ -119,7 +119,7 @@ The ``crypt_r`` module defines the following functions:
119119 password as salt when checking for a password.
120120
121121 Changed in Python 3.3:
122- Accept ``crypt .METHOD_* `` values in addition to strings for *salt *.
122+ Accept ``crypt_r .METHOD_* `` values in addition to strings for *salt *.
123123
124124
125125``mksalt(method=None, *, rounds=None) ``
You can’t perform that action at this time.
0 commit comments