pub fn stream_encrypt_directory(
entries: &[WalkedEntry],
header: &FileHeader,
sealer: StreamSealer,
output_dir: &Path,
) -> WorkflowResult<EncryptionOutputFile>Expand description
Streams a walked directory tree as an encrypted archive into a fresh output file. Memory stays bounded by the chunk size regardless of tree size. A partially written output is removed on failure.