public String encryptValue(final String value) {
        return encryptValue(value, e -> {
            LOGGER.warn("Could not encrypt value [{}]", value, e);
            return null;
        });
    }
Encrypt value as string.

@param value the value
@return the string
core/cas-server-core-configuration-api/src/main/java/org/apereo/cas/configuration/support/CasConfigurationJasyptCipherExecutor.java