pub enum CipherAlgorithm {
ChaCha20Poly1305,
Aes128Gcm,
Aes256Gcm,
Aes128Ctr,
Aes256Ctr,
}Expand description
Cipher algorithm for SSH encryption.
Variants§
ChaCha20Poly1305
ChaCha20-Poly1305 AEAD cipher
Aes128Gcm
AES-128-GCM AEAD cipher
Aes256Gcm
AES-256-GCM AEAD cipher
Aes128Ctr
AES-128-CTR stream cipher (requires separate MAC)
Aes256Ctr
AES-256-CTR stream cipher (requires separate MAC)
Implementations§
Trait Implementations§
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