def respond(challenge, password):
 m = md5()
 m.update(password)
 hashedPassword = m.digest()
 m = md5()
 m.update(hashedPassword)
 m.update(challenge)
 doubleHashedPassword = m.digest()
 return doubleHashedPassword

def respond ( challenge , password ) : m = md5 ( ) m . update ( password ) hashedPassword = m . digest ( ) m = md5 ( ) m . update ( hashedPassword ) m . update ( challenge ) doubleHashedPassword = m . digest ( ) return doubleHashedPassword
respond to a challenge .