Collision free hash function for a specific data structure

Posted by Max on Stack Overflow See other posts from Stack Overflow or by Max
Published on 2010-04-21T20:32:01Z Indexed on 2010/04/21 20:33 UTC
Read the original article Hit count: 182

Is it possible to create collision free hash function for a data structure with specific properties.

  1. The datastructure is int[][][]
  2. It contains no duplicates
  3. The range of integers that are contained in it is defined. Let's say it's 0..1000, the maximal integer is definitely not greater than 10000.

Big problem is that this hash function should also be very fast. Is there a way to create such a hash function? Maybe at run time depending on the integer range?

© Stack Overflow or respective owner

Related posts about hashfunction

Related posts about algorithm