Created
February 12, 2020 15:24
-
-
Save christophervigliotti/8a5cbd5d637c4df957345d640334aa11 to your computer and use it in GitHub Desktop.
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
<cfscript> | |
key = 'yer mom'; | |
secret = 'smells'; | |
encrypted=encrypt(secret, key, "CFMX_COMPAT", "hex"); | |
decrypted=decrypt(encrypted, key, "CFMX_COMPAT", "hex"); | |
WriteDump([ | |
'key: #key#', | |
'secret: #secret#', | |
'encrypted: #encrypted#', | |
'decrypted: #decrypted#', | |
cgi | |
]); | |
abort; | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment