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 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.