Exemplo n.º 1
0
 public function hash($password, $salt = NULL, $iterations = NULL)
 {
     if ($salt === NULL) {
         // Legacy auth uses FALSE for no salt
         $salt = FALSE;
     }
     // Hash the password, only one iteration supported
     return parent::hash($password, $salt, 1);
 }