• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint