CodeCharge Studio

CCDecryptString Function (PHP)

Syntax

CCDecryptString(String, Key)

Description

Decrypts a string previously encrypted using the CCEncryptString function and returns the decrypted data.

CodeCharge Studio uses this function internally within the automated login feature when the Remember Me feature is enabled. The default encryption key is obtained from CCS Project Settings -> Security -> Advanced -> 'Remember Me' feature -> Encryption Key.

Return value

String

Parameters

Name Type Description Required
String string A string that contains the data to decrypt. Yes
Key string 128-bit encryption key with which the data was previously encrypted using the CCEncryptString function. Yes

See also:

CCEncryptString function


On-line, printable versions and updates