Tag Info

Hot answers tagged


B in this password means that this encryption uses random salt, than md5(saltWithDash . md5(password)). If you want to check user input with password from database, you need to extract salt from password and combine user password with that salt. Next, compare this two hashes, and if matches, user password is valid. <?php $password = 'password'; ...


Hope this helps someone: This is how mediawiki saves the user password in the database. Please see @Aleksander's answer for more details.

Only top voted, non community-wiki answers of a minimum length are eligible