Need help of encrypted Password
#6

Here is the num_hash

pawn Код:
stock num_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
Need help of encrypted Password - by Steven Paul - 25.01.2011, 07:17
Re: Need help of encrypted Password - by iggy1 - 25.01.2011, 07:24
Re: Need help of encrypted Password - by Steven Paul - 25.01.2011, 07:39
Re: Need help of encrypted Password - by iggy1 - 25.01.2011, 07:57
Re: Need help of encrypted Password - by Steven Paul - 25.01.2011, 08:12
Re: Need help of encrypted Password - by Steven Paul - 25.01.2011, 08:14
Re: Need help of encrypted Password - by iggy1 - 25.01.2011, 08:31
Re: Need help of encrypted Password - by hadzx - 25.01.2011, 08:32
Re: Need help of encrypted Password - by Steven Paul - 25.01.2011, 08:39
Re: Need help of encrypted Password - by hadzx - 25.01.2011, 08:47

Forum Jump:


Users browsing this thread: 1 Guest(s)