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
|
edit
string to decrypt |
|
key
string,
required
|
edit
key to use for decryption |
Examples
editkey = "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 open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)