$ph=new PasswordHash(Yii::app()->params['phpass']['iteration_count_log2'], Yii::app()->params['phpass'] ['portable_hashes']);
This code is a pattern, So every time this code is called. Will it generate a new pattern or the same?
If it generates a different pattern, is it recommendable for retrieving data on login? Recommendable for a password to be hashed.
Then it will store a hashed password value(eg. sler) on the db already. Which is (#hashed.sler)
But how can I do these again generating the same hash so that when I type my password (eg. sler) on the login, it will be hashed correctly again like this.(#hashed.sler)