Struct cfb_mode::Cfb[][src]

pub struct Cfb<C: BlockCipher> { /* fields omitted */ }

CFB self-synchronizing stream cipher instance.

Methods

impl<C: BlockCipher> Cfb<C>
[src]

Create a new CFB mode instance with generic array key and IV.

Create a new CFB mode instance with sliced key and IV.

Returns an InvalidKeyIvLength error if key or IV have incorrect size.

Encrypt data.

Decrypt data.

Auto Trait Implementations

impl<C> Send for Cfb<C> where
    C: Send,
    <C as BlockCipher>::BlockSize: ArrayLength<u8>, 

impl<C> Sync for Cfb<C> where
    C: Sync,
    <C as BlockCipher>::BlockSize: ArrayLength<u8>,