I Can Login With Any Password Using Y_ini and WhirlPool, What's wrong?
#1

Hey guys, I'm having this problem which is that I can login with any password. Here is the code:

pawn Code:
new hashpass[129];
WP_Hash(hashpass,sizeof(hashpass),inputtext);
if(strcmp(hashpass,PlayerInfo[playerid][Pass]) == 0)
{
       //Login user..etc
}
else
{
    //Give error
}
As you can see I'm using WhirlPool + y_ini.

WhirlPool works perfectly I've made a debug to show me if it hashed the inputtext or not and it did.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)