decrypt_chunk

Function decrypt_chunk 

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

Decrypt a single chunk.