This is the world’s most ancient Hashing Algorithm known and as usual has its origin in India.
This is used in lot of ancient sanskrit texts as a hashing technique. Even the Melakartha system of naming ragas in the ancient Indians carnatic music system uses this algorithm!

Here I present the KaTaPaYaDi system.
Each consonant of an Indian language is assigned a number in this Katapayadi system as follows:

क(Ka)=1 ख(Ka)=2 ग(Ga)=3 घ(Ga)=4 ज़(Gnya)=5 च(Cha)=6 छ(Cha)=7 ज(Ja)=8 झ(Ja)=9 अ(Nya)=0
ट(Ta)=1 ठ(Ta)=2 ड(Da)=3 ढ(Da)=4 ण(Na)=5 त(Tha)=6 थ(Tha)=7 द(Dha)=8 ध(Dha)=9 न(Na)=0
प(Pa) =1 फ(Pha)=2 ब(Ba)=3 भ(Bha)=4 म(Ma)=5
य(Ya)=1 र(Ra)=2 ल(La)=3 व(Va)=4 श(Sha)=5  ष(Sha)=6 स(Sa)=7 ह(Ha)=8 ळ(La)=9

Now you can see why this system is called Katapayadi. Ka=Ta=Pa=Ya=1

Suppose we want to hash the word ‘Gurudeva’
The hashing number based on Katapayadi system would be then as follows for ‘Gurudev’

Gu=Ga(is the consonant)=3
Ru=Ra(is the consonant)=2
De=Da(is the consonant)=8
Va=Va(is the consonant)=4

So Gurudeva = 4823

Note the Indian hashes are reversed numbers (from right to left, which is why we reversed it in Step 2 to get the original word) unlike the western hashes which are from left to right! Which is why we have written 4823 and Not 3284. This is natural because this is how we invented the place value system too. from right to left as units, tens, hundreds etc.