(nonce, username, password)
return _unicode(md5hash.hexdigest())
Get an auth key to use for authentication.
Get an auth key to use for authentication.
Get an auth key to use for authentication .
def _auth_key(nonce, username, password):
    """Get an auth key to use for authentication.
    """
    digest = _password_digest(username, password)
    md5hash = md5()
    data = "%s%s%s" % (nonce, username, digest)
    md5hash.update(data.encode('utf-8'))
    return _unicode(md5hash.hexdigest())
def _auth_key ( nonce , username , password ) : digest = _password_digest ( username , password ) md5hash = md5 ( ) data = "%s%s%s" % ( nonce , username , digest ) md5hash . update ( data . encode ( 'utf-8' ) ) return _unicode ( md5hash . hexdigest ( ) )