docs: def create_NT_hashed_password_v1(passwd, user=None, domain=None):
      "create NT hashed password"
      # if the passwd provided is already a hash, we just return the second half
      if re.match(r'^[\w]{32}:[\w]{32}$', passwd):
          return binascii.unhexlify(passwd.split(':')[1])
  
      digest = hashlib.new('md4', passwd.encode('utf-16le')).digest()
      return digest