default Map<String, Object> decode(final Map<String, Object> properties, final Object[] parameters) {
        val decrypted = new HashMap<String, Object>();
        properties.forEach((key, value) -> {
            try {
                LOGGER.trace("Attempting to decode key [{}]", key);
                val result = decode((I) value, parameters);
                if (result != null) {
                    LOGGER.trace("Decrypted key [{}] successfully", key);
                    decrypted.put(key, result);
                }
            } catch (final ClassCastException e) {
                LOGGER.debug("Value of key [{}], is not the correct type, not decrypting, but using value as-is.", key);
                decrypted.put(key, value);
            }
        });
        return decrypted;
    }
Decode map.

@param properties the properties
@param parameters the parameters
@return the map
api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/crypto/DecodableCipher.java