Password Incorrect even when correct
#15

the length you specified for the password in the table is only 30 whereas the whirlpool hash length is 132 so only part of the password is getting matched with the hash string
pawn Code:
new FinalPassword[132], pass[132];
Password VARCHAR(30)

replace

pawn Code:
mysql_query("CREATE TABLE IF NOT EXISTS Users(UserID INT(20), Name VARCHAR(24), Score INT(20), Password VARCHAR(30), Money INT(20), Admin INT(5))");
with this
pawn Code:
mysql_query("CREATE TABLE IF NOT EXISTS Users(UserID INT(20), Name VARCHAR(24), Score INT(20), Password VARCHAR(132), Money INT(20), Admin INT(5))");
tested and works fine
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)