CI_Encryption::decrypt()

decrypt($data[, $params = NULL])

Parameters:
  • $data (string) – Data to decrypt
  • $params (array) – Optional parameters
Returns:

Decrypted data or FALSE on failure

Return type:

string

Decrypts the input data and returns it in plain-text.

Example:

echo $this->encryption->decrypt($ciphertext);

Please refer to the Using custom parameters secrion for information on the optional parameters.

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

Please login to continue.