Struct crypto::blockmodes::NoPadding [] [src]

pub struct NoPadding;

No padding mode for ECB and CBC encryption

Trait Implementations

impl Copy for NoPadding
[src]

impl Clone for NoPadding
[src]

fn clone(&self) -> NoPadding

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PaddingProcessor for NoPadding
[src]

fn pad_input<W: WriteBuffer>(&mut self, _: &mut W)

Add padding to the last block of input data If the mode can't handle a non-full block, it signals that error by simply leaving the block as it is which will be detected as an InvalidLength error. Read more

fn strip_output<R: ReadBuffer>(&mut self, _: &mut R) -> bool

Remove padding from the last block of output data If false is returned, the processing fails Read more