Any PHP developer that may help me here?
#8

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); 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 9 Guest(s)