Any PHP developer that may help me here?
#9

Quote:
Originally Posted by iKarim
Посмотреть сообщение
The problem is the PHP's hash function returns a hex encoded string instead of raw bytes by default while PAWN's function returns raw bytes by default, so you have to pass "true" to the 3rd argument like this:

PHP код:
hash('sha256'$row['PASSWORD'] . $row['SALT'], true); 
I actually thought of that, will try it later and come back to edit this message.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 10 Guest(s)