pub enum CipherAlgorithm {
AesGcm128,
AesGcm256,
ChaCha20Poly1305,
}Expand description
Cipher algorithm for SK payload encryption
Variants§
AesGcm128
AES-GCM with 128-bit key (AEAD)
AesGcm256
AES-GCM with 256-bit key (AEAD)
ChaCha20Poly1305
ChaCha20-Poly1305 (AEAD)
Implementations§
Trait Implementations§
Source§impl Clone for CipherAlgorithm
impl Clone for CipherAlgorithm
impl Copy for CipherAlgorithm
Source§impl Debug for CipherAlgorithm
impl Debug for CipherAlgorithm
impl Eq for CipherAlgorithm
Source§impl PartialEq for CipherAlgorithm
impl PartialEq for CipherAlgorithm
impl StructuralPartialEq for CipherAlgorithm
Auto Trait Implementations§
impl Freeze for CipherAlgorithm
impl RefUnwindSafe for CipherAlgorithm
impl Send for CipherAlgorithm
impl Sync for CipherAlgorithm
impl Unpin for CipherAlgorithm
impl UnsafeUnpin for CipherAlgorithm
impl UnwindSafe for CipherAlgorithm
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