pub fn decrypt_chunk(
master_key: &[u8; 32],
content_id: &str,
chunk: &EncryptedChunk,
) -> Result<Vec<u8>, ChunkEncryptionError>Expand description
Decrypt a single chunk.
pub fn decrypt_chunk(
master_key: &[u8; 32],
content_id: &str,
chunk: &EncryptedChunk,
) -> Result<Vec<u8>, ChunkEncryptionError>Decrypt a single chunk.