Whirpool Hashing
#1

Hey,
I have got a problem with Whirpool.
It works great when I register, but it would not let me login.
These are three versions I tried:
___________________________________________
pawn Код:
/*THIS ONE REDIRECTS ME TO PASSWORD DOES NOT MATCH ( }else{ )*/
new buf[129];
WP_Hash(buf, sizeof (buf), inputtext);
if(strcmp(pass, buf, true))
{
/*CORRECT PASSWORD*/
}
pawn Код:
/*THIS ONE REDIRECTS ME TO PASSWORD DOES NOT MATCH TOO ( }else{ )*/
new buf[129];
WP_Hash(buf, sizeof (buf), inputtext);
if(strcmp(buf, pass, true))
{
/*CORRECT PASSWORD*/
}
pawn Код:
/*HERE THE DIALOG JUST DISAPPEARS (No action taken)*/
new buf[129];
WP_Hash(buf, sizeof (buf), inputtext);
if(!strcmp(buf, pass, true))
{
/*CORRECT PASSWORD*/
}
Any ideas?
- Thanks

EDIT: pass and MySQL password field are defined as 128.
Reply


Messages In This Thread
Whirpool Hashing - by LightFight™ - 13.11.2010, 00:29
Re: Whirpool Hashing - by iggy1 - 13.11.2010, 00:31
Re: Whirpool Hashing - by Retardedwolf - 13.11.2010, 00:32
Re: Whirpool Hashing - by LightFight™ - 13.11.2010, 00:32
Re: Whirpool Hashing - by iggy1 - 13.11.2010, 00:35
Re: Whirpool Hashing - by LightFight™ - 13.11.2010, 00:38
Re: Whirpool Hashing - by iggy1 - 13.11.2010, 00:39
Re: Whirpool Hashing - by LightFight™ - 13.11.2010, 00:42
Re: Whirpool Hashing - by LightFight™ - 13.11.2010, 00:49
Re: Whirpool Hashing - by Slice - 13.11.2010, 07:02

Forum Jump:


Users browsing this thread: 1 Guest(s)