[FEATURE] Generate cHash only if needed