02.04.2012, 08:29
today i installed Whirpool, and the hash working fine, but i can get the correct(real) password ..
on Register:
On Login:
Use_Hash stock:
on Register:
pawn Код:
dini_Set(PlayerFile(playerid),"Password",Use_Hash(inputtext));
pawn Код:
if(!strcmp(dini_Get(PlayerFile(playerid),"Password"),Use_Hash(inputtext),false))
pawn Код:
native WP_Hash(buffer[], len, const str[]); //By ******
stock Use_Hash(password[]) //By SiX_MiX
{
new String[1024];
WP_Hash(String,sizeof(String),password);
return String;
}