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

Derived Implementations

impl Clone for PasswordKeyGenMethod

fn clone(&self) -> PasswordKeyGenMethod

fn clone_from(&mut self, source: &Self)