09.06.2011, 16:49
Hello,
This may seem like a noob'ish question to many of you but I thought I better ask now.
I have tried to create a simple Register System with the Whirlpool Plugin and dialogues. To make a register dialogue and store the password in hashed form into it by using dini was no problem but I really can't get the login dialogue working. How to check the inputtext - password?
^ This code seems to fail hard. So please tell me how to check the password by using the whirlpool plugin.
This may seem like a noob'ish question to many of you but I thought I better ask now.
I have tried to create a simple Register System with the Whirlpool Plugin and dialogues. To make a register dialogue and store the password in hashed form into it by using dini was no problem but I really can't get the login dialogue working. How to check the inputtext - password?
Код:
if(dini_Get(pfile,"Password") == WP_Hash(buf,sizeof(buf),inputtext))