Made some hashfunction private