public static String match(final CryptorRuleHandler ruleHandle, final String data) {
        switch (ruleHandle.getWay()) {
            case DECRYPT:
                return decrypt(ruleHandle.getStrategyName(), ruleHandle.getDecryptKey(), data);
            case ENCRYPT:
                return encrypt(ruleHandle.getStrategyName(), ruleHandle.getEncryptKey(), data);
            default:
                return null;
        }
    }
Match decrypt or encrypt.

@param ruleHandle rule.
@param data requestBody
@return Return the parsed data if the match is successful, otherwise return null.
shenyu-plugin/shenyu-plugin-security/shenyu-plugin-cryptor/src/main/java/org/apache/shenyu/plugin/cryptor/strategy/CryptorStrategyFactory.java