Posts: 599
Threads: 48
Joined: May 2016
How the hell it's possible
Code :
PHP код:
if (strcmp(PlayerInfo[playerid][pPass], udb_hash(inputtext)))
Error :
PHP код:
error 035: argument type mismatch (argument 2)
o.O
Thanks in advence
Posts: 599
Threads: 48
Joined: May 2016
Quote:
Originally Posted by Konstantinos
udb_hash returns an integer. You better use SHA256_PassHash function for hashing the passwords which includes a salt combination as well.
|
There no way to evad using SHA256_PassHash ?? :/
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
The better question is: is there no way to avoid using udb_hash? And then the answer is: yes, there is. Honestly, for any new project you should use the latest methods. Udb_hash is as old as SA-MP itself and is, despite its name, not a hashing algorithm.
Posts: 599
Threads: 48
Joined: May 2016
Whirpool Hashing is good ? but when i used it i put any random password and proof im logged in :/