pub enum EncryptionAlgorithmChoice {
XChaCha20Poly1305,
Aes256GcmSiv,
Ascon128,
}Expand description
Encryption algorithm options for global configuration
Variants§
XChaCha20Poly1305
XChaCha20Poly1305 is chosen for its security and nonce misuse resistance, strongest option
Aes256GcmSiv
Aes256GcmSiv provides strong security with nonce misuse resistance
Ascon128
Ascon128 is a lightweight authenticated encryption algorithm with good security properties, suggested for constrained environments
Trait Implementations§
Source§impl Clone for EncryptionAlgorithmChoice
impl Clone for EncryptionAlgorithmChoice
Source§fn clone(&self) -> EncryptionAlgorithmChoice
fn clone(&self) -> EncryptionAlgorithmChoice
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 EncryptionAlgorithmChoice
impl Debug for EncryptionAlgorithmChoice
Source§impl Default for EncryptionAlgorithmChoice
impl Default for EncryptionAlgorithmChoice
Source§fn default() -> EncryptionAlgorithmChoice
fn default() -> EncryptionAlgorithmChoice
Returns the “default value” for a type. Read more
impl Eq for EncryptionAlgorithmChoice
impl StructuralPartialEq for EncryptionAlgorithmChoice
Auto Trait Implementations§
impl Freeze for EncryptionAlgorithmChoice
impl RefUnwindSafe for EncryptionAlgorithmChoice
impl Send for EncryptionAlgorithmChoice
impl Sync for EncryptionAlgorithmChoice
impl Unpin for EncryptionAlgorithmChoice
impl UnwindSafe for EncryptionAlgorithmChoice
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