Skip to main content
Known Participant
June 5, 2008
Question

encrypt and decrypt functions

  • June 5, 2008
  • 2 replies
  • 402 views
Are there any known issues for these function in Coldfusion 8? What might cause decrypt not to work?
This topic has been closed for replies.

2 replies

jqcfAuthor
Known Participant
June 13, 2008
The only other thing that I could find that might shed some light on why the decrypt function might fail is this:
http://www.adobe.com/support/coldfusion/releasenotes/mx/knownissues_mx_j2ee_p2.html

One known issue was this:
The Encrypt and Decrypt functions do not work with double-byte character sets. If you pass a string containing double-byte characters to the Encrypt function, and later pass the encrypted value to the Decrypt function, the string is not properly decrypted.

But, that list of known issues is dated December 2002, and I imagine that this issue is probably fixed by now.
jqcfAuthor
Known Participant
June 12, 2008
So, I've found a comment that might shed some light on what might cause the decrypt function not to work. There's a comment at the bottom of this page that seems to suggest that a policy file might need to be updated: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_01.html
Does anyone understand this issue well, and if so, can you please explain it?