code: public static byte[] getNTResponse(Type2Message type2, String password) {
          if (type2 == null || password == null) return null;
          return NtlmPasswordAuthentication.getNTLMResponse(password,
                  type2.getChallenge());
      }
docs: Constructs the NT response to the given Type-2 message using
  the supplied password.
  
  @param type2 The Type-2 message.
  @param password The password.
  @return A <code>byte[]</code> containing the NT response.