added function to csm_Hash