Struct crypto::blockmodes::PkcsPadding [−][src]
pub struct PkcsPadding;
PKCS padding mode for ECB and CBC encryption
Trait Implementations
impl Clone for PkcsPadding
[src]
impl Clone for PkcsPadding
fn clone(&self) -> PkcsPadding
[src]
fn clone(&self) -> PkcsPadding
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for PkcsPadding
[src]
impl Copy for PkcsPadding
impl PaddingProcessor for PkcsPadding
[src]
impl PaddingProcessor for PkcsPadding
fn pad_input<W: WriteBuffer>(&mut self, input_buffer: &mut W)
[src]
fn pad_input<W: WriteBuffer>(&mut self, input_buffer: &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, output_buffer: &mut R) -> bool
[src]
fn strip_output<R: ReadBuffer>(&mut self, output_buffer: &mut R) -> bool
Remove padding from the last block of output data If false is returned, the processing fails Read more
Auto Trait Implementations
impl Send for PkcsPadding
impl Send for PkcsPadding
impl Sync for PkcsPadding
impl Sync for PkcsPadding