I want a perfect hash function to hash strings. My usecase is, the function should take a string and calculate the hash(integer). I will store both hash and corresponding string in form of a dictionary. The main thing is that it should be collision free i.e. 'Perfect hash function'.
Kindly suggest me such kind of open source implementations in 'C'.
TIA.