Page 1 of 1

decrypting AES 256 value

Posted: Wed Mar 19, 2014 11:01 am
by Kevvy
Hi There,

I am currently POSTING an encrypted string to a coldfusion web server where I am trying to decrypt the value using the same password used in encrypting it in livecode.
It isn't working at all, where coldfusion keeps on telling me that the data to be decrypted is not correct.
When I answer the data posted it is exactly the same as what the coldfusion server receives it as.

Coldfusion I use: <cfset decrypted=decrypt(#dataposted#, #password#,'AES') >
Livecode I use: encrypt gFirstName using "aes256" with password tPassword (Both passwords are the same in each script)

Any ideas ? :(

Thanks

Kev

Re: decrypting AES 256 value

Posted: Wed Mar 19, 2014 1:51 pm
by LCNeil
Hi Kev,

I see you have posted your question to stack overflow as well -

http://stackoverflow.com/questions/2250 ... decryption

There are currently some comments to your question that might give you some leads.

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
——