[−][src]Trait cryptsetup_rs::api::Luks1CryptDevice
Trait representing specific operations on a LUKS1 device
Required methods
fn hash_spec(&self) -> &str
Get the hash algorithm used
fn mk_bits(&self) -> u32
Number of bits in the master key
fn mk_digest(&self) -> &[u8; 20]
Master key header digest
fn mk_iterations(&self) -> u32
Master key PBKDF2
iterations
fn mk_salt(&self) -> &[u8; 32]
Master key salt
fn payload_offset(&self) -> u32
Get the offset of the payload