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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CipherAlgorithm
impl Send for CipherAlgorithm
impl Sync for CipherAlgorithm
impl Unpin for CipherAlgorithm
impl UnwindSafe for CipherAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more