code: static String md5(String origin) {
      try {
        MessageDigest md = MessageDigest.getInstance("MD5");
        md.update(origin.getBytes("UTF-8"));
        BigInteger bi = new BigInteger(1, md.digest());
        StringBuilder hash = new StringBuilder(bi.toString(16));
  
        while (hash.length() < 32) {
          hash.insert(0, "0");
        }
  
        return hash.toString();
      } catch (Exception e) {
        return getUuid();
      }
    }
docs: /* caculate md5 for string