Reputation: 2265
I was developing website in code igniter and in development phase i have set encryption_key which was not strong, Now i want to change it to strong encryption_key as site is going to live, Is there any issue or problem which can occur by doing this?
EDIT
actually in codeigniter doc reffering : https://ellislab.com/codeigniter/user-guide/libraries/encryption.html it is mention that "In fact, the key you chose will provide the only means to decode data that was encrypted with that key, so not only must you choose the key carefully, you must never change it if you intend use it for persistent data."
but i have changed on local and not seems any issue yet. Thanks.
Upvotes: 0
Views: 1436
Reputation: 7134
$config['encryption_key']
kept as configuration so that you can change it.If you can't change it,it would not be a configuration.
If you look at the comments before $config['encryption_key']
it says
If you use the Encryption class, you must set an encryption key.
See the user guide for more info.
See details at documentation how to setup encryption key
Upvotes: 1