Password Encryption Decryption

hi all,

 I tried to store password using md5 ,but is that good to encrypt password using md5 ,is there any other way of maintaining it in safe way ,kindly help me

Thanks in advance :)

md5 isnt the best way to hash password if You want your app to be safe. Hash is always easy to encrypt, so probably the answer is md5 is not good enough.

If you want to do it better way You can check out this link

http://www.yiiframework.com/wiki/292/secure-password-hashing-with-bcrypt/

sorry for asking this question ,i tried this by saving the class as bcrypt.php ,but i throws an error of No Such File Found ,how can i proceed with?

did you change your cfg file ?


'import'=>array(

        'application.vendors.*'

    ),

s ,i changed in config