code: public static byte[] getNTLMResponse(String password, byte[] challenge)
              throws Exception {
          byte[] ntlmHash = ntlmHash(password);
          return lmResponse(ntlmHash, challenge);
      }
docs: Calculates the NTLM Response for the given challenge, using the
  specified password.
  
  @param password The user's password.
  @param challenge The Type 2 challenge from the server.
  
  @return The NTLM Response.