TrialPay Interview Question

What makes a good hash function?