Enum encryptfile::PasswordKeyGenMethod [] [src]

pub enum PasswordKeyGenMethod {
    Scrypt(ScryptLogNScryptRScryptP),
    ReadFromFile,
}

Controls how the encryption key is generated from a text password.

Variants

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more