30.06.2014, 13:09
Since you're using MySQL you can just as easily implement it into a PHP script. There is a few tutorials on the net for using PHP with MySQL if you're not already familiar. You can just send an email to whoever registered the account with a URL e.g. http://example.com/email_verify/5f4d...8327deb882cf99 where the last part of the URL is a string stored alongside the users email to verify that they actually have access to the email account it was already registered with. Then ask them to put in a new password, hash it store it in the DB and done.. Obviously making sure to sanitize all the fields making it secure. (Probably all possible in PAWN using a smaller random string that someone would enter into a dialog for prove of identity)
You can't simply de-hash a password without using a lot of processing power, hence the whole point of a hash in the first place. If it's simple to revers the hash then doing it in the first place would be absolutely pointless.
You can't simply de-hash a password without using a lot of processing power, hence the whole point of a hash in the first place. If it's simple to revers the hash then doing it in the first place would be absolutely pointless.