hash = 0
for i=1 to len(s)
hash = hash * 256
hash = hash + asc(s(i))
next i