Hashing function used by the axl hash module to implement translation from an user defined pointer into a number that should be as much unique as possible.
- Parameters:
-
| key | User defined data that represents the key for a data to be stored into the hash. The value provided here usually is an string but it could be any other data used as key. |
- Returns:
- The function must return a positive value that will be used to index the content into the hash table. It doesn't matter if the number is greater than the table size. A modulo operation is applied to the result.