diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-02-24 17:01:36 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-02-24 17:01:36 -0500 |
| commit | 6b522e12345f416c452b1bef87d64b2ccf44fbf6 (patch) | |
| tree | bbc7ec8627fd5331959a080facde9dbd59b8c62b /docs/lib/passlib.hash.des_crypt.rst | |
| parent | 926f1e8e0b9b93aa658e486daf99b1cf4159d5b3 (diff) | |
| download | passlib-6b522e12345f416c452b1bef87d64b2ccf44fbf6.tar.gz | |
updated documentation, primarily - added description of MD5 Crypt algorithm
Diffstat (limited to 'docs/lib/passlib.hash.des_crypt.rst')
| -rw-r--r-- | docs/lib/passlib.hash.des_crypt.rst | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/lib/passlib.hash.des_crypt.rst b/docs/lib/passlib.hash.des_crypt.rst index b75a107..c833ab4 100644 --- a/docs/lib/passlib.hash.des_crypt.rst +++ b/docs/lib/passlib.hash.des_crypt.rst @@ -1,9 +1,13 @@ ======================================================================= -:class:`passlib.hash.des_crypt` - Tradtional Unix (DES) Crypt +:class:`passlib.hash.des_crypt` - DES Crypt ======================================================================= .. currentmodule:: passlib.hash +This class implements the original DES-based Unix Crypt algorithm. +While no longer in active use in most places, +it is supported for legacy purposes by many Unix flavors. + .. warning:: This algorithm is extremely weak by modern standards, @@ -11,9 +15,6 @@ It suffers from it's use of the DES cipher, a small number of salt bits, and fact that it uses only the first 8 characters of the password. -This class implements the original DES-based Unix Crypt algorithm. -While no longer in active use, it is supported for legacy purposes -by many unix variants. Usage ===== @@ -66,6 +67,10 @@ The checksum is formed by a modified version of the DES cipher in encrypt mode: * The checksum and salt are then encoded according the format, as described above. +.. + + swapping bits i and i+24 in the DES E-Box output when bit i is set in the salt + Deviations ========== This implementation of des-crypt differs from others in a few ways: |
