Jump to content

[SOLVED] Generate _COOKIE_KEY_ and _COOKIE_IV_


Recommended Posts

[iSSUE]
Hi, I'm building a installer for prestashop only to keep all the settings that I have configured that are stored i the database since I'm going to do a lot of installations. I guess it wouldn't be a good thing not generating a new _COOKIE_KEY_ and _COOKIE_IV_ at each installation but I can't find the code used to do this.

Can someone please help me point out in which file it's located?

[sOLUTION]
Found it in the "Tools" class:
array('_COOKIE_KEY_', Tools::passwdGen(56)),
array('_COOKIE_IV_', Tools::passwdGen(8)),

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...