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
Unknown
GenerateFromRng
Generate the vector randomly. See RngMode
.
Func(Rc<Box<Fn() -> IvArray>>)
Use the specified function to provide the IV. It should return a fully populated IV array.
Trait Implementations
impl Clone for InitializationVector
[src]
fn clone(&self) -> InitializationVector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more