Enum encryptfile::PasswordKeyGenMethod
[−]
[src]
pub enum PasswordKeyGenMethod { Scrypt(ScryptLogN, ScryptR, ScryptP), ReadFromFile, }
Controls how the encryption key is generated from a text password.
Variants
Scrypt(ScryptLogN, ScryptR, ScryptP)
Use the scrypt algorithm. http://www.tarsnap.com/scrypt/scrypt-slides.pdf
ReadFromFile
Read the key parameters from the file. This is valid for
decryption only, and only if OutputOption::IncludeKeyMetadata
was used when encrypting the file.
Trait Implementations
impl Clone for PasswordKeyGenMethod
[src]
fn clone(&self) -> PasswordKeyGenMethod
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more