jigneshdarji.com
Hash Functional Or Algorithm To Get Generate 4 Character Hash Value - Jignesh Darji
You can use unsigned Integer to generate a hash value. Here we want 4 characters so I take the example of UInt16 to get 4 characters. You can also use Uint32