Thanks Mark and Leigh.

Leigh, that did the trick.

Cheers
Bert

On 27 February 2013 14:48, Leigh <[email protected]> wrote:

>
> > a string which was originally encrypted in C#. It works
>
> Oh wait...it looks like an encoding difference. CF's encrypt/decrypt
> functions always use UTF-8. Based on the results, those custom c# methods
> are using Encoding.Unicode, which is different.  You need to use the same
> encoding ie UTF-16LE in CF.
>
> http://pastebin.com/fZtdeQ2e
>
>
> -Leigh
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354724
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to