title: Collision Hash Function
body: <p>Hi all I have a big problem with my hash function. I try to explain my problem :</p>
  
  <p>I have a set of char and  I want to do an hash function because I want to change the set with hash set, for each char I have a index , so what I do now :</p>
  
  <blockquote>
    <p>pair --> index p = 1 index a = 2  index i = 3 index r= 4---> so my hash return 1234</p>
  </blockquote>
  
  <p>but if for example I have </p>
  
  <blockquote>
    <p>so --> index s = 12 index o = 34 ---> hash 1234 </p>
  </blockquote>
  
  <p>COLLISION!!!!</p>
  
  <p>P.S. : I cannot order my char in alphabetic number....</p>
  
  <p>So , is there anyone that can help me?? THANKS A LOT :)</p>