title: What is Folding technique in hashing and how to implement it?
body: <p>I heard at a data structures seminar that we can break a key into groups of digits and then do the addition of groups. This ensures that all the digits contribute the hash code. The number of digits in a group correspond to the size of the array.</p>
  
  <p>For example, I have a machine number say <code>424-124-9675</code>, how do I make the hash function using the Folding technique?</p>