Password hashing between sa-mp and PHP
#1

Hello there. I'm currently coding a UCP for my sa-mp server where you will be able to read info from a mysql database where the character info is saved. I also made a login system where you log in with your in game characters name but now I have one problem.

I'm using the whirlpool plugin to hash my passwords in the server script but I need to find a way to unhash that password when logging in with the controlpanel which is coded in PHP.

I would appreciate the help in case anyone has got any idea how to fix this. Right now the php website is only reading the password without unhashing which works fine if I change the password for the character in the database.
Reply


Messages In This Thread
Password hashing between sa-mp and PHP - by Mystique - 02.03.2015, 16:10
Re: Password hashing between sa-mp and PHP - by Vince - 02.03.2015, 16:17
Re: Password hashing between sa-mp and PHP - by Mystique - 02.03.2015, 16:18
Re: Password hashing between sa-mp and PHP - by Sithis - 02.03.2015, 16:19
Re: Password hashing between sa-mp and PHP - by Mystique - 02.03.2015, 16:21
Re: Password hashing between sa-mp and PHP - by Tamer - 02.03.2015, 16:23
Re: Password hashing between sa-mp and PHP - by Mystique - 02.03.2015, 16:36
Re: Password hashing between sa-mp and PHP - by Sithis - 02.03.2015, 16:49

Forum Jump:


Users browsing this thread: 2 Guest(s)