Who know if this php function works on pawn?
#1

Can i make a inc to use it on my local samp server, instead to use https to call it on a external host server?

I want my login server work even the external host server it's down.

Код:
public function hashPassword($password)
{
       $salt = "$2a$" . SOMETHING . "$" . SOMETHING_ELSE;

        $newPassword = $password;
        for ($i = 0; $i < PASSWORD_SHA512_ITERATIONS; $i++) {
            $newPassword = hash('sha512', $salt.$newPassword.$salt);
        }
        return $newPassword;
}
Ty to see my question.
Reply


Messages In This Thread
Who know if this php function works on pawn? - by kingmk - 07.02.2018, 09:32
Re: Who know if this php function works on pawn? - by Calgon - 07.02.2018, 09:47
Re: Who know if this php function works on pawn? - by kingmk - 07.02.2018, 13:38
Re: Who know if this php function works on pawn? - by kingmk - 07.02.2018, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)