Skip to content
Python legacrypt crypt module for libcrypt / libxcrypt
Python
Branch: master
Clone or download
tiran Misc updates
* fix bytes/str handling
* try with multiple travis dists
* test with PyPy3
Latest commit a33ce2b May 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add build and dist infrastructure Feb 3, 2018
.travis.yml Misc updates May 28, 2019
LICENSE Add build and dist infrastructure Feb 3, 2018
README.md Add build and dist infrastructure Feb 3, 2018
legacycrypt.py Misc updates May 28, 2019
pyproject.toml
tests.py Misc updates May 28, 2019
tox.ini Misc updates May 28, 2019

README.md

Legacy crypt — Function to check Unix passwords

The legacycrypt module is a standalone version of https://docs.python.org/3/library/crypt.html

This module implements an interface to the crypt(3) routine, which is a one-way hash function based upon a modified DES algorithm; see the Unix man page for further details. Possible uses include storing hashed passwords so you can check passwords without storing the actual password, or attempting to crack Unix passwords with a dictionary.

Notice that the behavior of this module depends on the actual implementation of the crypt(3) routine in the running system. Therefore, any extensions available on the current implementation will also be available on this module.

You can’t perform that action at this time.