Correct Code Procedure For Storing Passwords Securing Passwords In MYSQL

Viewed 646

So currently my code is using a standard sha1 to hash the password for database implementation.

What is or is there a better more securing way to store the password? Maybe MD5 (Yes I am joking)

For example I am using Codeigniter as my framework, What would be the best way to encrypt the passwords?

4 Answers
Related