pub enum Cipher {
Aes128,
Aes256,
TwoFish,
ChaCha20,
Unknown(Uuid),
}
Expand description
Encryption cipher used for decryption the main database data
Variants§
Aes128
AES 128 in CBC mode
Aes256
AES 256 in CBC mode
TwoFish
TwoFish in CBC mode
ChaCha20
ChaCha20 in streaming mode
Unknown(Uuid)
Cipher unknown to this library
Trait Implementations§
impl Copy for Cipher
impl Eq for Cipher
impl StructuralPartialEq for Cipher
Auto Trait Implementations§
impl Freeze for Cipher
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