Yii Framework Forum: Php Crypto - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Php Crypto Rate Topic: -----

#1 User is offline   Alexandre Carmo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 123
  • Joined: 22-December 09
  • Location:Brazil - SP

Posted 27 February 2014 - 09:23 AM

Hello friends.

I need store user password in my table mysql, I would like use a secure method. How can I create password hashing using Yii?
0

#2 User is online   Travis Stroud 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 29-August 12

Posted 27 February 2014 - 11:02 AM

CPasswordHelper::hashPassword($password)

It was introduced in 1.1.14 (http://www.yiiframew...e-is-available/)
0

#3 User is offline   Alexandre Carmo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 123
  • Joined: 22-December 09
  • Location:Brazil - SP

Posted 27 February 2014 - 01:57 PM

Thanks.
It was what I needed
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users