Why providing an hash function without specifing any implementation of reference and also without specifying the algorithm of reference ( md5, sha256, etc etc ) ?
Also there are similar features for data structures such as the C++ standard-compliant std::unordered_map/set/multimap/multiset::hash_function
.
So what i don't get is:
- Why providing such undocumented methods
- The implementation details are fundamental for a right use of the hash functions, from a programmer standpoint what is the purpose of these functions
- This function can be linked to a specific algorithm ?