code: def generate_nt_response_mschap2(authenticator_challenge, peer_challenge, username, password):
      
      challenge = challenge_hash(peer_challenge, authenticator_challenge, username)
      password_hash = nt_password_hash(password)
      return challenge_response(challenge, password_hash)
docs: GenerateNTResponse