hide the password
#6

Use Udb hash...
pawn Код:
/*Credits to Dracoblue*/
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;
}
Reply


Messages In This Thread
hide the password - by $mooth - 23.07.2012, 14:20
Re: hide the password - by Matz - 23.07.2012, 14:25
Re: hide the password - by LaGrande - 23.07.2012, 14:27
Re: hide the password - by $mooth - 23.07.2012, 14:28
Re: hide the password - by $mooth - 23.07.2012, 14:34
Re: hide the password - by Rudy_ - 23.07.2012, 14:57
Re: hide the password - by nickdodd25 - 23.07.2012, 15:12
Re: hide the password - by TheArcher - 23.07.2012, 15:42
Re: hide the password - by Pinguinn - 23.07.2012, 15:46

Forum Jump:


Users browsing this thread: 1 Guest(s)