Quote:
Originally Posted by JocAnis
Can anyone give one good example of using hash_string ? Maybe for pass (login system) for mysql?
|
If you want to implement a connection system between your game server and say... a forum you might want to hash strings, since that's how most forum systems do it.
For example, for MyBB:
PHP Code:
md5(md5($salt).md5($plain_pass));
$plain_pass being the plain text password and $salt a random generated string.
Altough it would be easier to implement a Steam login to bind the IDs to your forum users unless, well, you know.
__________________