[HELP]MySQL md5/Whirpool hash(setting)
#2

pawn Код:
//Global variable
new PlayerPassword[MAX_PLAYERS][129] //In this we are going to store the hashed password

//OnPlayerRegister
WP_Hash(PlayerPassWord[playerid][Password], 129, password); //Now we hash 'password' which is the password sent to OnPlayerRegister and store it into PlayerPassWord
//So to enter it in the database:
mysql_real_escape_string(PlayerPassWord[playerid][Password], Escape[1]);

//I'm not sure if it works 100 percent because I use SQLite, which is similar but slightly different.
Reply


Messages In This Thread
[HELP]MySQL md5/Whirpool hash(setting) - by erorche - 30.11.2013, 14:56
Re: [HELP]MySQL md5/Whirpool hash(setting) - by knackworst - 30.11.2013, 15:10
Re: [HELP]MySQL md5/Whirpool hash(setting) - by dominik523 - 30.11.2013, 15:18
Re: [HELP]MySQL md5/Whirpool hash(setting) - by erorche - 30.11.2013, 15:27
Re: [HELP]MySQL md5/Whirpool hash(setting) - by dominik523 - 30.11.2013, 16:12
Re: [HELP]MySQL md5/Whirpool hash(setting) - by erorche - 30.11.2013, 16:17
Re: [HELP]MySQL md5/Whirpool hash(setting) - by dominik523 - 30.11.2013, 16:21
Re: [HELP]MySQL md5/Whirpool hash(setting) - by erorche - 30.11.2013, 16:23
Re: [HELP]MySQL md5/Whirpool hash(setting) - by dominik523 - 30.11.2013, 17:03

Forum Jump:


Users browsing this thread: 2 Guest(s)