Page 1 of 1

Decrypt text from coldfusion

Posted: Thu Apr 10, 2008 4:27 pm
by marupilla
I have a page that receives the coldfusion encrypted value. How do I decrypt that. Is there any common algorithm that we can use with the same key? I tried BLOWFISH but I was not able to decrypt.

Re: Decrypt text from coldfusion

Posted: Thu Apr 10, 2008 4:36 pm
by John Cartwright
What was it encrypted with?

Re: Decrypt text from coldfusion

Posted: Fri Apr 11, 2008 12:38 am
by Mordred
Oh dear, Schneier's own encryption didn't work?. Try ROT13 then. If this doesn't work as well, try checking the Coldfusion source to see which algorithm was used. Either one should work.

Re: Decrypt text from coldfusion

Posted: Fri Apr 11, 2008 6:29 am
by marupilla
Thank you guys. I tried blowfish, DES, AES. Thank you for your advise about ROT13. I will try that.

Re: Decrypt text from coldfusion

Posted: Fri Apr 11, 2008 11:43 am
by Mordred
*sigh*
Check the Coldfusion source for the algorithm used. You would also need the cipher key. You would also need a clue. Good luck.

Re: Decrypt text from coldfusion

Posted: Fri Apr 11, 2008 3:16 pm
by marupilla
Mordred,

I am not sure what is the clue. Coldfusion is using blowfish algorithem. Colfusion code looks like below

<cfset encObj = encrypt("This is my test string","12345678","BLOWFISH") >

Can you please help me with the key. I have access to both coldfusion and php code and I can make any changes you recommend.

Thanks.

Re: Decrypt text from coldfusion

Posted: Fri Apr 11, 2008 3:38 pm
by onion2k
mcrypt can do blowfish if you have it installed.

http://us3.php.net/manual/en/function.m ... eneric.php