diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2011-01-19 01:35:47 +0000 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2011-01-19 01:35:47 +0000 |
| commit | 7790935a93c8d86629d65e205af4e45d6ef59897 (patch) | |
| tree | 1944dd0eb321e752e6105288870856cb17741ad0 /passlib/utils | |
| parent | d9f3faff01a7dc10f1d7d324ffc0868a1547cab3 (diff) | |
| download | passlib-7790935a93c8d86629d65e205af4e45d6ef59897.tar.gz | |
added CryptHandlerHelper._norm_salt
Diffstat (limited to 'passlib/utils')
| -rw-r--r-- | passlib/utils/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/passlib/utils/__init__.py b/passlib/utils/__init__.py index f26d63e..f61bd8d 100644 --- a/passlib/utils/__init__.py +++ b/passlib/utils/__init__.py @@ -297,13 +297,6 @@ def validate_h64_salt(value, count): raise ValueError, "invalid %r character in salt: %r" % (c, value) return True -##def norm_h64_salt(value, count): -## "validate salt if provided, generate one if not provided" -## if value: -## validate_h64_salt(value, count) -## return value -## return generate_h64_salt(count) - def h64_encode_3_offsets(buffer, o1, o2, o3): "do hash64 encode of three bytes at specified offsets in buffer; returns 4 chars" #how 4 char output corresponds to 3 byte input: |
