decrypting AES 256 value

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Kevvy
Posts: 20
Joined: Fri Jan 10, 2014 7:06 am

decrypting AES 256 value

Post by Kevvy » Wed Mar 19, 2014 11:01 am

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

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: decrypting AES 256 value

Post by LCNeil » Wed Mar 19, 2014 1:51 pm

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
——

Post Reply