pub fn encrypt_into<R: Read, W: Write>(
reader: &mut R,
writer: &mut W,
derived_key: &[u8; 32],
salt: [u8; 16],
file_id: Option<[u8; 16]>,
zstd: Option<u8>,
) -> Result<FileHeader>Expand description
Encrypt data from reader into writer using streaming chunked encryption.