Enum nuts_container::Cipher
source · pub enum Cipher {
None,
Aes128Ctr,
Aes128Gcm,
}
Expand description
Supported cipher algorithms.
Variants§
None
No encryption.
Aes128Ctr
AES with a 128-bit key in CTR mode
Aes128Gcm
AES with a 128-bit key in GCM mode
Implementations§
Trait Implementations§
source§impl PartialEq for Cipher
impl PartialEq for Cipher
impl Copy for Cipher
impl StructuralPartialEq for Cipher
Auto Trait Implementations§
impl RefUnwindSafe for Cipher
impl Send for Cipher
impl Sync for Cipher
impl Unpin for Cipher
impl UnwindSafe for Cipher
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