def _auth_key(nonce, username, password):
digest = _password_digest(username, password)<EOL>md5hash = hashlib.md5()<EOL>md5hash.update("<STR_LIT>" % (nonce, unicode(username), digest))<EOL>return unicode(md5hash.hexdigest())<EOL>
Get an auth key to use for authentication.