diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-06-01 12:58:09 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-06-01 12:58:09 -0400 |
| commit | 92f3982bbcc94fae90794da52844f5b4f62d942f (patch) | |
| tree | d00fc46240d99c3d95ded6aa351c1f8da7c85ac4 /docs/lib/passlib.hash.bsdi_crypt.rst | |
| parent | 0365e4aba1c3e3af42b7aca1e9ece96b7dbf9c36 (diff) | |
| download | passlib-92f3982bbcc94fae90794da52844f5b4f62d942f.tar.gz | |
various documentation updates
Diffstat (limited to 'docs/lib/passlib.hash.bsdi_crypt.rst')
| -rw-r--r-- | docs/lib/passlib.hash.bsdi_crypt.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/lib/passlib.hash.bsdi_crypt.rst b/docs/lib/passlib.hash.bsdi_crypt.rst index 2ef5df0..bd2d334 100644 --- a/docs/lib/passlib.hash.bsdi_crypt.rst +++ b/docs/lib/passlib.hash.bsdi_crypt.rst @@ -67,7 +67,7 @@ The checksum is formed by a modified version of the DES cipher in encrypt mode: The salt string uses little-endian :func:`hash64 <passlib.utils.h64.decode_int24>` encoding. -4. The password is NULL-padded on the end to the smallests non-zero multiple of 8 bytes. +4. The password is NULL-padded on the end to the smallest non-zero multiple of 8 bytes. 5. The lower 7 bits of the first 8 bytes of the password are used to form a 56-bit integer; with the first byte providing @@ -81,7 +81,7 @@ The checksum is formed by a modified version of the DES cipher in encrypt mode: b. Step 5 is repeated for the current 8-byte block, and xored against the existing DES key. -7. Repeated rounds of modified DES encryption are performed; +7. Repeated rounds of (modified) DES encryption are performed; starting with a null input block, and using the 56-bit integer from step 5/6 as the DES key. @@ -89,7 +89,7 @@ The checksum is formed by a modified version of the DES cipher in encrypt mode: by swapping bits :samp:`{i}` and :samp:`{i}+24` in the DES E-Box output if and only if bit :samp:`{i}` is set in the salt value. - The number of rounds to is controlled by the value decoded in step 2. + The number of rounds is controlled by the value decoded in step 2. 8. The 64-bit result of the last round of step 7 is then lsb-padded with 2 zero bits. |
