fixed hash table key generation