diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2012-06-27 15:58:17 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2012-06-27 15:58:17 -0400 |
commit | 7992e8ed13059859a0b17d9569a8081763df645f (patch) | |
tree | 4c76f98a32dab6e2dabb71dd068c1d7064c0d68d /passlib/handlers/md5_crypt.py | |
parent | 9240ba7bdc000be61a7a1d4cea8df1866e19bfd4 (diff) | |
download | passlib-7992e8ed13059859a0b17d9569a8081763df645f.tar.gz |
md5_crypt deprecated by author, updated docs accordingly
Diffstat (limited to 'passlib/handlers/md5_crypt.py')
-rw-r--r-- | passlib/handlers/md5_crypt.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/passlib/handlers/md5_crypt.py b/passlib/handlers/md5_crypt.py index 6832dcf..ec8c773 100644 --- a/passlib/handlers/md5_crypt.py +++ b/passlib/handlers/md5_crypt.py @@ -237,6 +237,13 @@ class md5_crypt(uh.HasManyBackends, _MD5_Common): If not specified, one will be autogenerated (this is recommended). If specified, it must be 0-8 characters, drawn from the regexp range ``[./0-9A-Za-z]``. + :type salt_size: int + :param salt_size: + Optional number of characters to use when autogenerating new salts. + Defaults to 8, but can be any value between 0 and 8. + (This is mainly needed when generating Cisco-compatible hashes, + which require ``salt_size=4``). + :type relaxed: bool :param relaxed: By default, providing an invalid value for one of the other |