hash gen initial