diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2013-12-27 13:49:41 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2013-12-27 13:49:41 -0500 |
| commit | bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b (patch) | |
| tree | 36c3549889c3d8bf8f531b30bb588920c23cc681 /docs/lib/passlib.hash.lmhash.rst | |
| parent | 10ddd0c4bf75c21bdd75a3cb0781f020147778b3 (diff) | |
| download | passlib-bcdf0cd2a97fa8dfb4cc06352faa0934ccbf236b.tar.gz | |
massive cleanup of documentation typos, thanks to Thomas Waldmann (issue 27, comment 7) (transplant of r1f5b8860b743 from default branch)
Diffstat (limited to 'docs/lib/passlib.hash.lmhash.rst')
| -rw-r--r-- | docs/lib/passlib.hash.lmhash.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/lib/passlib.hash.lmhash.rst b/docs/lib/passlib.hash.lmhash.rst index efc0613..e0335de 100644 --- a/docs/lib/passlib.hash.lmhash.rst +++ b/docs/lib/passlib.hash.lmhash.rst @@ -18,7 +18,7 @@ This class implements the LanManager Hash (aka *LanMan* or *LM* hash). It was used by early versions of Microsoft Windows to store user passwords, until it was supplanted (though not entirely replaced) by the :doc:`nthash <passlib.hash.nthash>` algorithm in Windows NT. -It continues to crop up in production due to it's integral role +It continues to crop up in production due to its integral role in the legacy NTLM authentication protocol. This class can be used directly as follows:: @@ -57,7 +57,7 @@ details about the known interoperability issues. It's a mess of codepages. Format & Algorithm ================== -A LM hash consists of 32 hexidecimal digits, +A LM hash consists of 32 hexadecimal digits, which encode the 16 byte digest. An example hash (of ``password``) is ``e52cac67419a9a224a3b108f3fa6cb6d``. @@ -82,7 +82,7 @@ The digest is calculated as follows: 4. Step 3 is repeated using the second 7 bytes of the password from step 2, resulting in the second 8 bytes of the final digest. -5. The combined digests from 3 and 4 are then encoded to hexidecimal. +5. The combined digests from 3 and 4 are then encoded to hexadecimal. Security Issues =============== @@ -94,10 +94,10 @@ dedicated to LMHASH, this algorithm should be considered broken. The major flaws * It limits the password to 14 characters, and converts the password to uppercase before hashing, greatly reducing the keyspace. -* By breaking the password into two independant chunks, - they can be attacked independantly and simultaneously. +* By breaking the password into two independent chunks, + they can be attacked independently and simultaneously. -* The independance of the chunks reveals significant information +* The independence of the chunks reveals significant information about the original password: The second 8 bytes of the digest are the same for all passwords < 8 bytes; and for passwords of 8-9 characters, the second chunk can be broken *much* faster, |
