I have a client that is sending me a TripleDES EDE encrypted string using Java
Encrypted String: OvGS9+D6u5PeJlx1itnhOhBVie
rX85oyAjTk
l3LAeFk=
TripeDes EDE Key: wfQjuvuJN496DUUVSSmGMrVYLP
7IB4rN
Does anyone know how to decrypt this string using ColdFusion tags either built in or custom?
I've tried the obvious
<cfset temp = '#decrypt("OvGS9+D6u5PeJlx
1itnhOhBVi
erX85oyAjT
kl3LAeFk="
, "wfQjuvuJN496DUUVSSmGMrVYL
P7IB4rN", "DESEDE")#'>
But this produces the error:
There has been an error while trying to encrypt or decrypt your input string: The input and output encodings are not same..
The error occurred in E:\myapp\testone.cfm: line 4
2 : <cfset string = 'OvGS9+D6u5PeJlx1itnhOhBVi
erX85oyAjT
kl3LAeFk='
>
3 :
4 : <cfset temp = '#decrypt("OvGS9+D6u5PeJlx
1itnhOhBVi
erX85oyAjT
kl3LAeFk="
, "wfQjuvuJN496DUUVSSmGMrVYL
P7IB4rN", "DESEDE")#'>
Any help would be greatly appreciated.
Thanks,
Kenny
Start Free Trial