Hi,
I am new to Yii. Is it possible to change the encryption from php crypt() to mhash() for using in password in Yii ?
If yes, how to do that ?
Thanks
Page 1 of 1
Using Mhash Instead Of Php Crypt
#3
Posted 17 May 2013 - 01:14 PM
Well, user authentication (including password validation) is entirely in the application author's hands. So yes, you can use the mhash extension for that, although it's not recommended as it seems to be deprecated since PHP 5.3. The bcrypt method mentioned by RSfTDL is certainly more future-proof.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
Share this topic:
Page 1 of 1

Help













