Understanding hash_password_db() - Ion Auth - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Understanding hash_password_db() - Ion Auth (/showthread.php?tid=37885) |
Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]anna16[/eluser] Hi guys Just wondering what does the salt column mean in users table in these codes below, Code: public function hash_password_db($identity, $password) Anyone familiar? Thanks in advanced. Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]InsiteFX[/eluser] Hi anna, ION Auth uses the salt to protect the password stronger. Makes it harder for someone to decrypt the password. InsiteFX Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]anna16[/eluser] thanks insite. Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]anna16[/eluser] Hi insiteFX what is _extra_where in this code select mean? Is this a variable? cuz i don't see it in the code as a variable? Code: $query = $this->db->select('password') Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]InsiteFX[/eluser] Hi anna, Code: /** InsiteFX Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]anna16[/eluser] So it's a function. I did not saw it immediately cuz I'm dizzy. I guess I need a break. XD Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]anna16[/eluser] WoW extra_where() is cool... By the way i noticed when the code is pointing like this, Code: ->_extra_where It append the underscore in the beginning of the extra_where method. What is underscore do? Thanks Understanding hash_password_db() - Ion Auth - El Forum - 01-24-2011 [eluser]anna16[/eluser] Okay i saw it now. It's the variable in ION Auth. Sigh, I'm no patience. XD |