private static boolean isVectorInitializationRequiredFor(final String algorithm) {
        return StringUtils.isNotBlank(algorithm) && ALGS_THAT_REQUIRE_IV_PATTERN.matcher(algorithm).matches();
    }
Return true if the algorithm requires initialization vector.
{@code PBEWithDigestAndAES} algorithms (from the JCE Provider of JAVA 8) require an initialization vector.
Other algorithms may also use an initialization vector and it will increase the encrypted text's length.

@param algorithm the algorithm to check
@return true if algorithm requires initialization vector
core/cas-server-core-configuration-api/src/main/java/org/apereo/cas/configuration/support/CasConfigurationJasyptCipherExecutor.java