equal
deleted
inserted
replaced
293 else: |
293 else: |
294 digest = sha512.hexdigest() + b2a_hex(salt).decode() |
294 digest = sha512.hexdigest() + b2a_hex(salt).decode() |
295 return _format_digest(digest, scheme, encoding) |
295 return _format_digest(digest, scheme, encoding) |
296 |
296 |
297 _scheme_info = { |
297 _scheme_info = { |
|
298 'CLEAR': (_clear_hash, 0x2010df00), |
298 'CLEARTEXT': (_clear_hash, 0x10000f00), |
299 'CLEARTEXT': (_clear_hash, 0x10000f00), |
299 'CRAM-MD5': (_dovecotpw, 0x10000f00), |
300 'CRAM-MD5': (_dovecotpw, 0x10000f00), |
300 'CRYPT': (_crypt_hash, 0x10000f00), |
301 'CRYPT': (_crypt_hash, 0x10000f00), |
301 'DIGEST-MD5': (_md5_hash, 0x10000f00), |
302 'DIGEST-MD5': (_md5_hash, 0x10000f00), |
302 'HMAC-MD5': (_dovecotpw, 0x10000f00), |
303 'HMAC-MD5': (_dovecotpw, 0x10000f00), |