def _CRAM_MD5_AUTH(self, challenge):
        import hmac
        return self.user + " " + hmac.HMAC(self.password, challenge).hexdigest()
Authobject to use with CRAM-MD5 authentication.
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/imaplib.py/IMAP4._CRAM_MD5_AUTH