First bit of hashing algorithm implementation