pub struct Padding(/* private fields */);
Expand description
Type of encryption padding to use.
Random length padding is primarily used to prevent attackers from predicting or knowing the exact length of a plaintext message that can possibly lead to breaking encryption.
Implementations§
Trait Implementations§
source§impl PartialEq<Padding> for Padding
impl PartialEq<Padding> for Padding
impl Copy for Padding
impl Eq for Padding
impl StructuralEq for Padding
impl StructuralPartialEq for Padding
Auto Trait Implementations§
impl RefUnwindSafe for Padding
impl Send for Padding
impl Sync for Padding
impl Unpin for Padding
impl UnwindSafe for Padding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more