Re: CF8 - Decrypt function generating error
I ran into the same decrypt problem-- I fixed it by changing algorithms, IIRC. :] I submitted the bug to the official cf8 bug spot, wherever that was... -Denny -- All of us are born with a set of instinctive fears--of falling, of the dark, of lobsters, of falling on lobsters in the dark, or speaking before a Rotary Club, and of the words Some Assembly Required. Dave Barry On Fri, Mar 21, 2008 at 7:49 AM, Jeff Becker [EMAIL PROTECTED] wrote: Thanks Steve, I added the HEX encoding argument and no longer throw the error BUT now my cfoutput is not displaying anything / empty. cfset key = cfset encrypted = bbb cfoutput#Decrypt(encrypted, key, AES,HEX)#/cfoutput result empty string key and encrypted are orginals of course. Any ideas? ~| 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:301790 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 - Decrypt function generating error
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 = cfset encrypted = bbb 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
Re: CF8 - Decrypt function generating error
Thanks Steve, I added the HEX encoding argument and no longer throw the error BUT now my cfoutput is not displaying anything / empty. cfset key = cfset encrypted = bbb cfoutput#Decrypt(encrypted, key, AES,HEX)#/cfoutput result empty string key and encrypted are orginals of course. Any ideas? ~| 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:301736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 - Decrypt function generating error
Any idea why the following code works in CF7 but not when placed in a CF8 environment?? cfset key = cfset encrypted = bbb 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:301693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4