02.03.2015, 16:23
AFAIK Php has their own hashing functions which allow you to do so.
> Hash user input.
> Retrieve hashed password from DB and compare it with user input.
> Hash user input.
> Retrieve hashed password from DB and compare it with user input.