Function self_encryption::encrypt_from_file
source · pub fn encrypt_from_file(
file_path: &Path,
output_dir: &Path
) -> Result<(DataMap, Vec<XorName>)>
Expand description
Read a file from the disk to encrypt, and output the chunks to a given output directory if presents.