What hash algorithm is it?
This hash function is very similar to a linear congruential generator, a type of naive pseudorandom number generator. By now there are much better hash functions out there, and I suggest not using this one.