An Interface providing hashFunction