| 1 |
# Legacy crypt — Function to check Unix passwords |
| 2 |
|
| 3 |
The legacycrypt module is a standalone version of |
| 4 |
https://docs.python.org/3/library/crypt.html |
| 5 |
|
| 6 |
This module implements an interface to the crypt(3) routine, which is a |
| 7 |
one-way hash function based upon a modified DES algorithm; see the Unix man |
| 8 |
page for further details. Possible uses include storing hashed passwords so |
| 9 |
you can check passwords without storing the actual password, or attempting |
| 10 |
to crack Unix passwords with a dictionary. |
| 11 |
|
| 12 |
Notice that the behavior of this module depends on the actual |
| 13 |
implementation of the crypt(3) routine in the running system. Therefore, |
| 14 |
any extensions available on the current implementation will also be |
| 15 |
available on this module. |