Which is the most secure and most efficient way for storing passwords inside the database tables using PHP?
So far I have used the md5() and the sha256 algorithm for storing passwords where both of them can be easily hacked using rainbow tables if finally someone gain access on the database.
 
     
     
    