pub enum AlgorithmCategory {
Hash,
Aead,
Mac,
Signature,
KeyExchange,
Kdf,
PostQuantum,
}Expand description
Canonical algorithm category.
Variants§
Hash
Cryptographic hash functions (SHA-2, SHA-3, BLAKE2, BLAKE3).
Aead
Authenticated encryption with associated data.
Mac
Message authentication codes.
Signature
Digital signature schemes.
KeyExchange
Key agreement / Diffie-Hellman.
Kdf
Key derivation functions.
PostQuantum
Post-quantum primitives (ML-KEM, ML-DSA, hybrid KEMs).
Trait Implementations§
Source§impl Clone for AlgorithmCategory
impl Clone for AlgorithmCategory
Source§fn clone(&self) -> AlgorithmCategory
fn clone(&self) -> AlgorithmCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlgorithmCategory
impl Debug for AlgorithmCategory
Source§impl PartialEq for AlgorithmCategory
impl PartialEq for AlgorithmCategory
Source§fn eq(&self, other: &AlgorithmCategory) -> bool
fn eq(&self, other: &AlgorithmCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AlgorithmCategory
impl Eq for AlgorithmCategory
impl StructuralPartialEq for AlgorithmCategory
Auto Trait Implementations§
impl Freeze for AlgorithmCategory
impl RefUnwindSafe for AlgorithmCategory
impl Send for AlgorithmCategory
impl Sync for AlgorithmCategory
impl Unpin for AlgorithmCategory
impl UnsafeUnpin for AlgorithmCategory
impl UnwindSafe for AlgorithmCategory
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