02.03.2015, 16:17
There's no such thing as "unhashing". The point of a hash is to be irreversible. To compare the password, run the user input through the same hashing algorithm and then compare the output to what's stored in the database.