diff options
Diffstat (limited to 'passlib/utils/des.py')
| -rw-r--r-- | passlib/utils/des.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passlib/utils/des.py b/passlib/utils/des.py index def894d..65dfe8a 100644 --- a/passlib/utils/des.py +++ b/passlib/utils/des.py @@ -666,7 +666,7 @@ def des_encrypt_block(key, input, salt=0, rounds=1): :arg salt: Optional 24-bit integer used to mutate the base DES algorithm in a - manner specific to :class:`~passlib.hash.des_crypt` and it's variants. + manner specific to :class:`~passlib.hash.des_crypt` and its variants. The default value ``0`` provides the normal (unsalted) DES behavior. The salt functions as follows: if the ``i``'th bit of ``salt`` is set, @@ -675,7 +675,7 @@ def des_encrypt_block(key, input, salt=0, rounds=1): :arg rounds: Optional number of rounds of to apply the DES key schedule. the default (``rounds=1``) provides the normal DES behavior, - but :class:`~passlib.hash.des_crypt` and it's variants use + but :class:`~passlib.hash.des_crypt` and its variants use alternate rounds values. :raises TypeError: if any of the provided args are of the wrong type. |
