summaryrefslogtreecommitdiff
path: root/passlib/util.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2011-01-14 03:18:21 +0000
committerEli Collins <elic@assurancetechnologies.com>2011-01-14 03:18:21 +0000
commitcd411bc3ff7dccc631c7153adc58e206fb9e3b09 (patch)
treec94318a53457a164c2528d384443fdd4973be879 /passlib/util.py
parentf31cc8f113c2c927021c53c4d85c1f9a4f600e16 (diff)
downloadpasslib-cd411bc3ff7dccc631c7153adc58e206fb9e3b09.tar.gz
added global registry for crypt algorithms; rewrote CryptContext to have much fewer features (old one was over-engineered)
Diffstat (limited to 'passlib/util.py')
-rw-r--r--passlib/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/passlib/util.py b/passlib/util.py
index e0c661f..ee0ebf0 100644
--- a/passlib/util.py
+++ b/passlib/util.py
@@ -26,7 +26,6 @@ __all__ = [
"bytes_to_list",
"list_to_bytes",
"xor_bytes",
- "H64",
"srandom",
]
#=================================================================================
@@ -67,6 +66,8 @@ def abstract_class_method(func):
update_wrapper(wrapper, func)
return classmethod(wrapper)
+Undef = object() #singleton used as default kwd value in some functions
+
#=================================================================================
#tests
#=================================================================================