I don't know the actual mathematical term (many to one mapping is the terminology i've used)
This is my requirement:
hash_code = hash_function(element 1, element 2, ...... element n)
i should be able to retrieve
bool b = is_valid_hash(hash_code, element x)
the function is_valid_hash
should be able to tell me weather 'element x
' was an element passed in the hash_function
What is the name to such hash functions? One hash should be able to map to multiple elements (not collision).