Hash Key Comparisions for two objects
I want to generate a Hash key for a [ Nested Hierarchical nodes].
Can you suggest me a lightweight non-cryptographic hash map functions which generate a key, so that I can use this hashkey to comparison purposes.
NOTE: Security is not a concern for me, I just want to create a Unique ID.
I appreciate the help.
Re: Hash Key Comparisions for two objects
What kind of objects are the hash keys for? If you want each new object to have a unique key, create the key by using a static int that is incremented for each object created.
What types of objects would be expected to have the same key values?
use this hashkey to comparison purposes.