Skip to main content

decrypt_stream

Function decrypt_stream 

Source
pub fn decrypt_stream<R: Read, W: Write>(
    reader: R,
    writer: W,
    key: &[u8; 32],
    nonce: &[u8; 24],
    chunk_size: usize,
) -> Result<u64>
Expand description

Streaming decryption for large files Decrypts data in chunks to support files larger than available memory