private boolean isModeInitializationVectorCompatible(String modeName) {
        return modeName != null
                && !modeName.equalsIgnoreCase(OperationMode.ECB.name())
                && !modeName.equalsIgnoreCase(OperationMode.NONE.name());
    }
Returns {@code true} if the specified cipher operation mode name supports initialization vectors,
{@code false} otherwise.

@param modeName the raw text name of the mode of operation
@return {@code true} if the specified cipher operation mode name supports initialization vectors,
{@code false} otherwise.
crypto/cipher/src/main/java/org/apache/shiro/crypto/cipher/DefaultBlockCipherService.java