Decrypt text from coldfusion

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
marupilla
Forum Newbie
Posts: 3
Joined: Thu Apr 10, 2008 4:24 pm

Decrypt text from coldfusion

Post 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.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Decrypt text from coldfusion

Post by John Cartwright »

What was it encrypted with?
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

Re: Decrypt text from coldfusion

Post 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.
marupilla
Forum Newbie
Posts: 3
Joined: Thu Apr 10, 2008 4:24 pm

Re: Decrypt text from coldfusion

Post by marupilla »

Thank you guys. I tried blowfish, DES, AES. Thank you for your advise about ROT13. I will try that.
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

Re: Decrypt text from coldfusion

Post 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.
marupilla
Forum Newbie
Posts: 3
Joined: Thu Apr 10, 2008 4:24 pm

Re: Decrypt text from coldfusion

Post 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.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Decrypt text from coldfusion

Post by onion2k »

mcrypt can do blowfish if you have it installed.

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