@ParameterizedTest
    @MethodSource("getParameters")
    void verifyExistingEncryptionKeySizes(final int keySize, final String encryptionKey) {
        val signingKeySecret = "VfYEhlNRkOuG8AaWXQmG0QB7XYsvPwpTF6w8pkucuQ3E8ZMBRyesEPMvuBFyF-8czyvapyrsaTwM49x-JzZAKQ";
        val cipher = new DefaultTicketCipherExecutor(encryptionKey, signingKeySecret,
            "AES", 512, keySize, "webflow");
        val encoded = cipher.encode("ST-1234567890".getBytes(StandardCharsets.UTF_8));
        assertEquals("ST-1234567890", new String(cipher.decode(encoded), StandardCharsets.UTF_8));
    }
This is {@link DefaultTicketCipherExecutorTests}.

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