How to hash map known values to smaller data width?
You can truncate any &quot;good&quot; hash.  Generally speaking, a property of a good hash is that each bit has a random likelihood of being a 1 or a 0.  The first few bits of a good hash have this property, so the first few bits of a good hash should also be a good hash.