derive_chunk_key

Function derive_chunk_key 

Source
pub fn derive_chunk_key(
    master_key: &[u8; 32],
    content_id: &str,
    chunk_index: u64,
) -> Result<[u8; 32], ChunkEncryptionError>
Expand description

Derive a chunk-specific key from the master key.