pub struct MasterKey {
pub version: u32,
pub salt: [u8; 16],
pub rounds: u32,
pub alg_id_hash: u32,
pub alg_id_encrypt: u32,
pub data: Vec<u8>,
}Expand description
The MasterKey sub-blob: salt + rounds + alg IDs + encrypted payload.
Fields§
§version: u32§salt: [u8; 16]§rounds: u32§alg_id_hash: u32§alg_id_encrypt: u32§data: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MasterKey
impl RefUnwindSafe for MasterKey
impl Send for MasterKey
impl Sync for MasterKey
impl Unpin for MasterKey
impl UnsafeUnpin for MasterKey
impl UnwindSafe for MasterKey
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