Friday, January 9, 2015

Re: Security.salt and Security.cipherSeed, Why ? and for what ?

Hey

If you check out the comments above these configuration values it should explain what they are for.

When you use CakePHP's "Auth" component in your application, by default it will use the Security.salt value when it is hashing passwords and the like, it's a bad idea to keep this at the default value though you can introduce your own hashing methods if you desire.

Likewise the cipherSeed is used for encryption and decryption rather than hashing.

Some resources that might be helpful:


Cheers

On 7 January 2015 at 19:19, Cake.newbie <mehdi.boussarhane@gmail.com> wrote:

Hi everyone,


I just started using CakePHP today :) and i really didn't find an answer for my questions.
What Security.salt and Security.cipherSeed are ?
Where/when/for what Security.salt and Security.cipherSeed are used ?

Thanks.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.



--
Kind Regards
 Stephen Speakman

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: