Interview Questions

What is the use of Security.salt and Security.cipherSeed in cakephp? How to change its default value?

CakePHP Interview Questions and Answers


(Continued from previous question...)

What is the use of Security.salt and Security.cipherSeed in cakephp? How to change its default value?

- The Security.salt is used for generating hashes.we can change the default Security.salt value in /app/Config/core.php.
- The Security.cipherseed is used for encrypt/decrypt strings.We can change the default Security.cipherSeed value by editing /app/Config/core.php.

(Continued on next question...)

Other Interview Questions