private boolean isModeStreamingCompatible(String modeName) {
        return modeName != null &&
                !modeName.equalsIgnoreCase(OperationMode.ECB.name()) &&
                !modeName.equalsIgnoreCase(OperationMode.NONE.name());
    }
Same purpose as the {@link #getModeName modeName} attribute, but is used instead only for for streaming
operations ({@link #encrypt(java.io.InputStream, java.io.OutputStream, byte[])} and
{@link #decrypt(java.io.InputStream, java.io.OutputStream, byte[])}).
<p/>
Note that unlike the {@link #getModeName modeName} attribute, the default value of this attribute is not
{@code null} - it is {@link OperationMode#CBC CBC} for reasons described in the class-level JavaDoc in the
{@code Streaming} section.

@return the transformation string mode name to be used for streaming operations only.
src/main/java/org/apache/shiro/crypto/cipher/DefaultBlockCipherService.java