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 |
Func | Use the specified function to provide the IV. It should return a fully populated IV array. |