Name

CFusion_Decrypt

Synopsis

CFusion_Decrypt(encryptedstring, key)

Decrypts encryptedstring using key. This is an undocumented function used by the ColdFusion Administrator; it was introduce in the 3.x version of ColdFusion. CFusion_Decrypt( ) is similar to the Decrypt( ) function except it works only with strings encrypted using the CFusion_Encrypt( ) function. Example:

<cfset x=CFusion_Encrypt("this is a message", 12345)>
<cfset ux=CFusion_Decrypt(x, 12345)>
   
<cfoutput>
Original String: this is a message<br>
Encrypted:  #x#<br>
Decrypted:  #ux#
</cfoutput>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.