Python, 6995 6862 6732
Just a simple RSA function. Pretty lame, but beats some answers.
M=0x5437b3a3b1
P=0x65204c34d
def H(s):
n=0
for i in range(len(s)):
n+=pow(ord(s[i]),P,M)<<i
return n%(8**8)
Just a simple RSA function. Pretty lame, but beats some answers.
M=0x5437b3a3b1
P=0x65204c34d
def H(s):
n=0
for i in range(len(s)):
n+=pow(ord(s[i]),P,M)<<i
return n%(8**8)