Now we have found a solution to our problem, instead of storing the password, we calculate its hash-value and store it in the database. If the user wants to login, we calculate the hash-value of the user input, and compare it with the value in the database.
So we store for example this value...
82210e61e8f415525262575b20fae48d
Because it is a one way hash, we cannot recover the original password, do we?