pub fn cid_from_merkle( algorithm: HashAlgo, merkle_hex: &str, ) -> Result<String, CasError>
Encode a legacy XET merkle hex digest as a canonical CIDv1 for the given algorithm, using the reconstruction-shard codec.