pub enum EncryptionType {
Xor(ObfString<[u8; 64]>),
Aes(ObfString<[u8; 64]>, ObfString<[u8; 32]>),
}
Expand description
The different encryption types with their encryption keys. The obfuscated strings have double the size because of the hex encoding.
Variants§
Xor(ObfString<[u8; 64]>)
The xor encryption type with the key.
Aes(ObfString<[u8; 64]>, ObfString<[u8; 32]>)
The aes encryption type with the key and nonce.
Auto Trait Implementations§
impl Freeze for EncryptionType
impl RefUnwindSafe for EncryptionType
impl Send for EncryptionType
impl Sync for EncryptionType
impl Unpin for EncryptionType
impl UnwindSafe for EncryptionType
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