SA-MP Forums Archive
Hash password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hash password (/showthread.php?tid=656113)



Hash password - Juance - 07.07.2018

Hello everyone. I have a big question and that is, what is the best method to hash a password.


Re: Hash password - David (Sabljak) - 07.07.2018

https://sampforum.blast.hk/showthread.php?tid=581336


Re: Hash password - Juance - 07.07.2018

This function does not help me if I want to do a web registration. I have problems with the salt, when I register a password on the web, then the server does not take it as correct.


Re: Hash password - Banditul18 - 07.07.2018

https://sampforum.blast.hk/showthread.php?tid=453544
I belive php have bcrypt as default option for password_hash


Re: Hash password - Juance - 07.07.2018

Could you give me a short example of login? I've tried to do it but it does not take my passwords correctly. The function tells me that the passwords do not match but nevertheless lets me login.

EDIT: I already solved my problems with bcrypt. Thank you very much to all