This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset algorithm = "AES"> | |
<cfset encoding = "hex"> | |
<cfset key = GenerateSecretKey(algorithm)> | |
<cfset str = "This is my secret string." > | |
<cfset enc = Encrypt(str, key, algorithm, encoding)> | |
<cfset dec = Decrypt(enc, key, algorithm, encoding)> |