@Override
    public final String buildCookieValue(final String givenCookieValue, final HttpServletRequest request) {
        val cookieValue = buildCompoundCookieValue(givenCookieValue, request);
        LOGGER.trace("Encoding cookie value [{}]", cookieValue);
        return determineCipherExecutor(request).encode(cookieValue, ArrayUtils.EMPTY_OBJECT_ARRAY).toString();
    }
Provides basic encryption/decryption support for cookie values.

@author Daniel Frett
@since 5.3.0
core/cas-server-core-cookie-api/src/main/java/org/apereo/cas/web/support/mgmr/EncryptedCookieValueManager.java