public static Pair<Boolean, String> checkParam(final CryptorRuleHandler ruleHandle) {
        if (StringUtils.isEmpty(ruleHandle.getWay())) {
            return Pair.of(true, "way");
        }

        if (StringUtils.isEmpty(ruleHandle.getStrategyName())) {
            return Pair.of(true, "strategyName");
        }

        String fieldNames;
        if (StringUtils.isEmpty(fieldNames = ruleHandle.getFieldNames())) {
            return Pair.of(true, "fieldNames");
        }

        String mapType;
        if (StringUtils.isEmpty(mapType = ruleHandle.getMapType())) {
            ruleHandle.setMapType(ALL.getMapType());
        }

        if (ruleHandle.getWay().equals(CryptorStrategyFactory.DECRYPT) && StringUtils.isEmpty(ruleHandle.getDecryptKey())) {
            return Pair.of(true, "decryptKey");
        }
        
        if (ruleHandle.getWay().equals(CryptorStrategyFactory.ENCRYPT) && StringUtils.isEmpty(ruleHandle.getEncryptKey())) {
            return Pair.of(true, "encryptKey");
        }

        if (fieldNames.contains(",") && FIELD.getMapType().equals(mapType)) {
            ruleHandle.setMapType(ALL.getMapType());
        }
        
        return Pair.of(false, "");
    }
check param.

@param ruleHandle ruleHandle
@return is null
shenyu-plugin/shenyu-plugin-security/shenyu-plugin-cryptor/src/main/java/org/apache/shenyu/plugin/cryptor/utils/CryptorUtil.java