pub fn is_block_cipher_mode(self) -> bool {
        matches!(
            self,
            Cipher::Ctr
                | Cipher::Cfb
                | Cipher::Ofb
                | Cipher::Xts
                | Cipher::EcbNoPadding
                | Cipher::CbcNoPadding
                | Cipher::CbcPkcs7
        )
    }
/// Check is the cipher algorithm is a mode of a block cipher.
Check is the cipher algorithm is a mode of a block cipher.
Check is the cipher algorithm is a mode of a block cipher .
pub fn is_block_cipher_mode(self) -> bool {
        matches!(
            self,
            Cipher::Ctr
                | Cipher::Cfb
                | Cipher::Ofb
                | Cipher::Xts
                | Cipher::EcbNoPadding
                | Cipher::CbcNoPadding
                | Cipher::CbcPkcs7
        )
    }
pub fn is_block_cipher_mode ( self ) -> bool { matches ! ( self Cipher Ctr Cipher Cfb Cipher Ofb Cipher Xts Cipher EcbNoPadding Cipher CbcNoPadding Cipher CbcPkcs7 ) }
Check is the cipher algorithm is a mode of a block cipher.
Check is the cipher algorithm is a mode of a block cipher .
self
self