Jeff,

I ran into the exact same error. Took me a little to figure it out, but 
I wrote a post explaining how to get around it all:

http://blog.cutterscrossing.com/index.cfm/2008/3/11/ColdFusion-8-Gotcha-The-Decrypt-Function

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com

Jeff Becker wrote:
> Any idea why the following code works in CF7 but not when placed in a CF8 
> environment??
> 
> <cfset key = "aaaaaaaaaaaaaaaaaaaaaaaa">
> <cfset encrypted = "bbbbbbbbbbbbbbbbbbbbbbb"> 
> <cfoutput>#Decrypt(encrypted, key, "AES")#"</cfoutput>
> 
> 
> The error in CF8 is:  "An error occurred while trying to encrypt or decrypt 
> your input string: The input and output encodings are not same.."
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301734
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to