# Cfusion_decrypt()

Decrypts the given string, alias for function call decrypt(string,key,"cfmx_compat","hex")

```
Cfusion_decrypt( string=string, key=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| string | string | Yes | string to decrypt |  |
| key | string | Yes | key to use for decryption |  |

# Examples

```cfml
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()](cfusion_encrypt.md)