Enum encryptfile::PasswordType [] [src]

pub enum PasswordType {
    Unknown,
    Text(StringPasswordKeyGenMethod),
    Func(Rc<Box<Fn() -> PwKeyArray>>),
}

Specifies the encryption password.

Variants

Use the specified text string and PasswordKeyGenMethod. Leading/trailing whitespace is not trimmed on the string. Consider specifying salt via Config.salt().

Use the specified function to provide the key.

Trait Implementations

impl Clone for PasswordType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more