pub enum CipherAlgorithm {
Ctr(CipherParam),
Cfb(CipherParam),
Ofb(CipherParam),
Xts(CipherParam),
Ecb(CipherParam),
Cbc(CipherParam),
CbcPkcs7(CipherParam),
}
Expand description
Type of Cipher algorithm
Variants§
Ctr(CipherParam)
Counter
Cfb(CipherParam)
Cipher Feedback
Ofb(CipherParam)
Output Feedback
Xts(CipherParam)
XEX-based tweaked-codebook mode with ciphertext stealing
Ecb(CipherParam)
Electronic Codebook
Cbc(CipherParam)
Cipher-Block Chaining
CbcPkcs7(CipherParam)
Cipher-Block Chaining with PKCS#7 padding
Trait Implementations§
Source§impl Clone for CipherAlgorithm
impl Clone for CipherAlgorithm
Source§fn clone(&self) -> CipherAlgorithm
fn clone(&self) -> CipherAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CipherAlgorithm
impl Debug for CipherAlgorithm
Source§impl PartialEq for CipherAlgorithm
impl PartialEq for CipherAlgorithm
impl StructuralPartialEq for CipherAlgorithm
Auto Trait Implementations§
impl Freeze for CipherAlgorithm
impl RefUnwindSafe for CipherAlgorithm
impl Send for CipherAlgorithm
impl Sync for CipherAlgorithm
impl Unpin for CipherAlgorithm
impl UnwindSafe for CipherAlgorithm
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