@Test
    void checkEncryptionWithDefaultSettings() {
        val cipherExecutor = new TicketGrantingCookieCipherExecutor("1PbwSbnHeinpkZOSZjuSJ8yYpUrInm5aaV18J2Ar4rM",
            "szxK-5_eJjs-aUj-64MpUZ-GPPzGLhYPLGl0wrYjYNVAGva2P0lLe6UGKGM7k8dWxsOVGutZWgvmY3l5oVPO3w",
            ContentEncryptionAlgorithmIdentifiers.AES_128_CBC_HMAC_SHA_256, 0, 0);

        val result = cipherExecutor.decode(cipherExecutor.encode("CAS Test"));
        assertEquals("CAS Test", result);
    }
Test cases for {@link BaseStringCipherExecutor}.

@author Misagh Moayyed
@since 4.1
core/cas-server-core-util/src/test/java/org/apereo/cas/util/cipher/TicketGrantingCookieCipherExecutorTests.java