Hashing A String Algorithm

The following algorithm hashes a string into an integer with minimal collisions.
In this case, Hello will be 1585. It is about the representation
of the string. The process will lead to:
(72*1) + (101*2) + (108*3) + (108*4) + (111*5) = 1585