VirtualMailManager/password.py
branchv0.6.x
changeset 316 31d8931dc535
parent 292 619dadc0fd25
child 320 011066435e6f
equal deleted inserted replaced
315:81bccfd14355 316:31d8931dc535
    24     from VirtualMailManager.pycompat import hashlib
    24     from VirtualMailManager.pycompat import hashlib
    25 
    25 
    26 from VirtualMailManager import ENCODING
    26 from VirtualMailManager import ENCODING
    27 from VirtualMailManager.EmailAddress import EmailAddress
    27 from VirtualMailManager.EmailAddress import EmailAddress
    28 from VirtualMailManager.common import get_unicode, version_str
    28 from VirtualMailManager.common import get_unicode, version_str
    29 from VirtualMailManager.constants.ERROR import VMM_ERROR
    29 from VirtualMailManager.constants import VMM_ERROR
    30 from VirtualMailManager.errors import VMMError
    30 from VirtualMailManager.errors import VMMError
    31 
    31 
    32 COMPAT = hasattr(hashlib, 'compat')
    32 COMPAT = hasattr(hashlib, 'compat')
    33 SALTCHARS = './0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
    33 SALTCHARS = './0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
    34 PASSWDCHARS = '._-+#*23456789abcdefghikmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'
    34 PASSWDCHARS = '._-+#*23456789abcdefghikmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'