23.02.2018, 16:27
(
Последний раз редактировалось kingmk; 24.02.2018 в 08:47.
)
Quote:
I think u r right because i just make a code where i entered my password and try to see the hashed output and i saw that they are just not the same..
here is the code PHP код:
|
Some others tips:
1) Don't make a script who De-hashing... You just need to hash the entered password and compare it with the hashed password stored in your DB.
2) Read this to make what I'v said on (#) -> https://sampforum.blast.hk/showthread.php?tid=319574
3) Hashing a password in your samp server, will eat a lot of resources, so it may lagging when some players will requesting the hashing on same time. (I recomand use a_https.inc)
4) Also, i recommand you to create a GET on your PHP hashing, that will store a uniq CODE, like a password, to avoid spam. (You will use something like this "password=%s&algo=%s&data=%s", when u request the hashing )
Disadvantages -> Your login system will not work if the web server it's down.
Hope u understood.