pub fn decrypt_asset<R: Read, W: Write>(
file_key: &[u8; 32],
nonce_prefix: &[u8; 7],
reader: R,
writer: W,
) -> Result<(), StreamError>Expand description
Decrypt a STREAM ciphertext from reader to writer. Every chunk’s tag is verified;
any tamper/truncation/reorder yields StreamError::Auth.