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 | 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 |