Whirlpool not hashing
#4

Add this code below your previous stock function.
Код:
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
Whirlpool not hashing - by SomebodyAndMe - 10.07.2012, 07:34
Re: Whirlpool not hashing - by SomebodyAndMe - 10.07.2012, 08:55
Re: Whirlpool not hashing - by SomebodyAndMe - 10.07.2012, 10:53
Re: Whirlpool not hashing - by Avi57 - 10.07.2012, 11:02
Re: Whirlpool not hashing - by Hiddos - 10.07.2012, 11:04
Re: Whirlpool not hashing - by ReneG - 10.07.2012, 11:09
Re: Whirlpool not hashing - by pyrodave - 10.07.2012, 11:14
Re: Whirlpool not hashing - by SomebodyAndMe - 10.07.2012, 11:17

Forum Jump:


Users browsing this thread: 2 Guest(s)