SHA256_PassHash
#1

hello guys i am working on a new register/login system but i am confused with a problem i am getting.
i used this
on DIALOG_REGISTER
Код:
SetPVarInt(playerid, "confirmpass", SHA256_PassHash(inputtext, pInfo[playerid][Salt], pInfo[playerid][Password], 10));
but its not working correctly when i am using it on DIALOG_REGISTER_CONFIRM
Код:
if (GetPVarInt(playerid, "confirmpass") != SHA256_PassHash(inputtext, pInfo[playerid][Salt], pInfo[playerid][Password], 10))
help yea
Reply


Messages In This Thread
SHA256_PassHash - by CaptainBoi - 14.12.2018, 06:48
Re: SHA256_PassHash - by CaptainBoi - 14.12.2018, 07:42
Re: SHA256_PassHash - by Banditul18 - 14.12.2018, 08:09
Re: SHA256_PassHash - by CaptainBoi - 14.12.2018, 08:23

Forum Jump:


Users browsing this thread: 2 Guest(s)