02.08.2014, 10:02
Quote:
In a Dialog of password, when you want to write it with dini or Y_INI, You udb_hash(inputtext).
|
pawn Код:
for (n=0; n<length; n++)
{
s1 = (s1 + buf[n]) % 65521;
s2 = (s2 + s1) % 65521;
}
return (s2 << 16) + s1;