Friendsurance Interview Question

How many ways are there to implement hashcode?