Skip to main content

encrypt

Function encrypt 

Source
pub fn encrypt(
    context: &mut Context,
    arguments: &Arguments,
) -> Result<Outcome, Failed>
Expand description

encrypt: writes an encrypted copy of a plaintext database.

The key is the one this process was given - --key-file or INILLUCENT_KEY - and the source is opened without it, which the dispatcher arranges through crate::keys::opens_source_without_key.