(self, challenge)
return self.user + " " + hmac.HMAC(self.password, challenge).hexdigest()
Authobject to use with CRAM-MD5 authentication.
Authobject to use with CRAM-MD5 authentication.
Authobject to use with CRAM - MD5 authentication .
def _CRAM_MD5_AUTH(self, challenge):
        """ Authobject to use with CRAM-MD5 authentication. """
        import hmac
        return self.user + " " + hmac.HMAC(self.password, challenge).hexdigest()
def _CRAM_MD5_AUTH ( self , challenge ) : import hmac return self . user + " " + hmac . HMAC ( self . password , challenge ) . hexdigest ( )