UCP hashed URGENT [+REP]
#1

Hello i founded an UCP online but password is not hashed (what you write that save)
can you tell me how can i change it to hashed password ? Thanks
Reply
#2

Try this: https://sampforum.blast.hk/showthread.php?tid=570945
Reply
#3

Put this stock


Код:
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;
}
And in the password code put this
udb_hash(params)

Also see this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)