Suggestion safety
#1

My friend sent me a code and he said that I should put the following code in my script.

stock udb_hash(buf[])
{
new length=strlen(buf);
new s1 = 1;
new s2 = 0;
new n;
for (n=0; n<length; n++)
{
s1 = (s1 + buf[n]) % 65521;
s2 = (s2 + s1) % 65521;
}
return (s2 << 16) + s1;
}

I just want to know what it is, what it will do, and will this be safe for my server.
Reply


Messages In This Thread
Suggestion safety - by lexurs - 08.07.2013, 02:03
Re: Suggestion safety - by Goldilox - 08.07.2013, 02:52

Forum Jump:


Users browsing this thread: 3 Guest(s)