code: private static byte[] ntlmHash(final String password) throws AuthenticationException {
          if (UNICODE_LITTLE_UNMARKED == null) {
              throw new AuthenticationException("Unicode not supported");
          }
          final byte[] unicodePassword = password.getBytes(UNICODE_LITTLE_UNMARKED);
          final MD4 md4 = new MD4();
          md4.update(unicodePassword);
          return md4.getOutput();
      }
docs: Creates the NTLM Hash of the user's password.
  
  @param password
  The password.
  
  @return The NTLM Hash of the given password, used in the calculation of
  the NTLM Response and the NTLMv2 and LMv2 Hashes.