Cfusion_decrypt()
Decrypts the given string, alias for function call decrypt(string,key,"cfmx_compat","hex")
Cfusion_decrypt( string=string, key=string );
Returns: String
Argument | Description |
---|---|
string
string,
required
|
string to decrypt |
key
string,
required
|
key to use for decryption |
Examples
key = "T5JalcfiANtOA+3V+02Ccw==";
string = "Lucee Association Switzerland (LAS)";
encrypted_string = Cfusion_encrypt(string, key);
dump(Cfusion_decrypt(encrypted_string, key)); // Lucee Association Switzerland (LAS)
See also
- Cfusion_encrypt()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)