pub fn encrypt_content<R: Read>( master_key: &[u8; 32], content_id: &str, reader: &mut R, chunk_size: usize, ) -> Result<Vec<EncryptedChunk>, ChunkEncryptionError>
Encrypt content from a reader to encrypted chunks.