title: Hash table resizing: how do we do it without knowing the key?
body: <p>When we store only the resultant data for a key in a hashtable, how do I perform hashtable resizing? One example I can think of is to store username &amp; password combinations. For the sake of privacy, we'd only store passwords (there can be many other use cases too).  Here, the table just stores the data but not the key. Given this, if I want to copy entries from the old table to the new during resizing, I don't have the key to hash upon.</p>
  
  <p>How is resizing done here?</p>