Name

CFusion_Encrypt

Synopsis

CFusion_Encrypt(string, key)

Encrypts string using key. This is an undocumented function used by the ColdFusion Administrator; it was introduced in the 3.x version of ColdFusion. Cfusion_Encrypt( ) is similar to the Encrypt( ) function but results in a 32-character hexidecimal string, making it more useful than the CFEncrypt( ) 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.