CodeIgniter Forums
Security with CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: Security with CI (/showthread.php?tid=70295)

Pages: 1 2


RE: Security with CI - yiujia - 05-11-2018

Don't use MD5 to crypt password Big Grin.

Use the php function password_hash and password_verify to check.
We never decrypt a password. we only check that the word entered by the user corresponds to the password encrypted.