pub fn decrypt_stream_parallel(
privkey_pem: &str,
reader: &mut dyn Read,
writer: &mut dyn Write,
passphrase: Option<&str>,
batch_size: usize,
) -> Result<(), PqfileError>Expand description
Parallel version of decrypt_stream for v3/v5 (chunked) files.
Non-parallel formats (v2, v4, v6) are forwarded to decrypt_stream
transparently. batch_size controls how many chunks are decrypted
concurrently per rayon batch.