sm_hash_gen
