docs: protected String encrypt(String randomStr, String plainText) {
      ByteGroup byteCollector = new ByteGroup();
      byte[] randomStringBytes = randomStr.getBytes(CHARSET);
      byte[] plainTextBytes = plainText.getBytes(CHARSET);
      byte[] bytesOfSizeInNetworkOrder = number2BytesInNetworkOrder(plainTextBytes.length);
      byte[] appIdBytes = appidOrCorpid.getBytes(CHARSET);
  
      // randomStr + networkBytesOrder + text + appid
      byteCollector.addBytes(randomStringBytes);
      byteCollector.addBytes(bytesOfSizeInNetworkOrder);
      byteCollector.addBytes(plainTextBytes);
      byteCollector.addBytes(appIdBytes);
  
      // ... + pad: 使用自定义的填充方式对明文进行补位填充
      byte[] padBytes = PKCS7Encoder.encode(byteCollector.size());
      byteCollector.addBytes(padBytes);
  
      // 获得最终的字节流, 未加密
      byte[] unencrypted = byteCollector.toBytes();
  
      try {
        // 设置加密模式为AES的CBC模式
        Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding");
        SecretKeySpec keySpec = new SecretKeySpec(aesKey, "AES");
        IvParameterSpec iv = new IvParameterSpec(aesKey, 0, 16);
        cipher.init(Cipher.ENCRYPT_MODE, keySpec, iv);
  
        // 加密
        byte[] encrypted = cipher.doFinal(unencrypted);
  
        // 使用BASE64对加密后的字符串进行编码
        String base64Encrypted = base64.encodeToString(encrypted);
  
        return base64Encrypted;
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }