Hhash_hmah problem
#6

Somewhere near the top of gamemode:

pawn Код:
static const hash_key[] = "4!$aw";
Then later
pawn Код:
hhash_hmac(H_SHA256, inputtext, hash_key, PlayerInfo[playerid][pPass], H_SHA256_LEN);
You might want to consider some additional security stuff, because db connection data and that salt will be visible in plaintext in amx.
Reply


Messages In This Thread
Hhash_hmah problem - by Jajetin - 16.10.2013, 15:05
Re: Hhash_hmah problem - by Misiur - 16.10.2013, 15:23
Re: Hhash_hmah problem - by Jajetin - 16.10.2013, 15:27
Re: Hhash_hmah problem - by Misiur - 16.10.2013, 15:29
Re: Hhash_hmah problem - by Jajetin - 16.10.2013, 15:39
Re: Hhash_hmah problem - by Misiur - 16.10.2013, 15:41
Re: Hhash_hmah problem - by Jajetin - 16.10.2013, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)