Matching code for data deduplication