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 for SymmetricAlgorithmId
impl PartialEq for SymmetricAlgorithmId
Source§impl PartialOrd for SymmetricAlgorithmId
impl PartialOrd for SymmetricAlgorithmId
impl Copy for SymmetricAlgorithmId
impl StructuralPartialEq for SymmetricAlgorithmId
Auto Trait Implementations§
impl Freeze for SymmetricAlgorithmId
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