Enum encryptfile::InitializationVector [] [src]

pub enum InitializationVector {
    Unknown,
    GenerateFromRng,
    Func(Rc<Box<Fn() -> IvArray>>),
}

Specifies the initialization vector. Note, when decrypting, you do not need to specify this since the IV is in the file.

Variants

Generate the vector randomly. See RngMode.

Use the specified function to provide the IV. It should return a fully populated IV array.

Trait Implementations

impl Clone for InitializationVector
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more