pub fn compress_data(data: &[u8], config: CompressionConfig) -> Result<Vec<u8>>
Compress data using the specified algorithm