pub enum SymmetricAlgorithmId {
Aes,
Des,
DesX,
Rc2,
TripleDes,
TripleDes112,
}
Expand description
Symmetric algorithm identifiers
Variants§
Aes
The advanced encryption standard symmetric encryption algorithm.
Standard: FIPS 197.
Des
The data encryption standard symmetric encryption algorithm.
Standard: FIPS 46-3, FIPS 81.
DesX
The extended data encryption standard symmetric encryption algorithm.
Standard: None.
Rc2
The RC2 block symmetric encryption algorithm.
Standard: RFC 2268.
TripleDes
The triple data encryption standard symmetric encryption algorithm.
Standard: SP800-67, SP800-38A.
TripleDes112
The 112-bit triple data encryption standard symmetric encryption algorithm.
Standard: SP800-67, SP800-38A.
Trait Implementations§
source§impl Algorithm for SymmetricAlgorithmId
impl Algorithm for SymmetricAlgorithmId
const ID: Option<SymmetricAlgorithmId> = None
fn id(&self) -> SymmetricAlgorithmId
source§impl Clone for SymmetricAlgorithmId
impl Clone for SymmetricAlgorithmId
source§fn clone(&self) -> SymmetricAlgorithmId
fn clone(&self) -> SymmetricAlgorithmId
Returns a copy 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 SymmetricAlgorithmId
impl Debug for SymmetricAlgorithmId
source§impl PartialEq<SymmetricAlgorithmId> for SymmetricAlgorithmId
impl PartialEq<SymmetricAlgorithmId> for SymmetricAlgorithmId
source§fn eq(&self, other: &SymmetricAlgorithmId) -> bool
fn eq(&self, other: &SymmetricAlgorithmId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SymmetricAlgorithmId> for SymmetricAlgorithmId
impl PartialOrd<SymmetricAlgorithmId> for SymmetricAlgorithmId
source§fn partial_cmp(&self, other: &SymmetricAlgorithmId) -> Option<Ordering>
fn partial_cmp(&self, other: &SymmetricAlgorithmId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SymmetricAlgorithmId
impl StructuralPartialEq for SymmetricAlgorithmId
Auto Trait Implementations§
impl RefUnwindSafe for SymmetricAlgorithmId
impl Send for SymmetricAlgorithmId
impl Sync for SymmetricAlgorithmId
impl Unpin for SymmetricAlgorithmId
impl UnwindSafe for SymmetricAlgorithmId
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