06.10.2013, 02:32
Nice effort. But:
Will that even compile? Taken from the pastebin link:
Why haven't you included a_samp?
I reccomend switching to Whirlpool and learning about "salting" passwords.
Will that even compile? Taken from the pastebin link:
pawn Код:
//Includes
#include <YSI\y_ini>
pawn Код:
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;
}

