Tag Info

New answers tagged

2

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'; ...


2

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



Top 50 recent answers are included