Amazon Interview Question

what makes a good hash function?