CI_Encryption::initialize()

initialize($params)

Parameters:
  • $params (array) – Configuration parameters
Returns:

CI_Encryption instance (method chaining)

Return type:

CI_Encryption

Initializes (configures) the library to use a different driver, cipher, mode or key.

Example:

$this->encryption->initialize(
        array('mode' => 'ctr')
);

Please refer to the Configuring the library section for detailed info.

doc_CodeIgniter
2016-10-15 16:31:32
Comments
Leave a Comment

Please login to continue.