Re: Send Blowfish-encoded string to PHP

2007-12-25 Thread Dmitrii 'Mamut' Dimandt
Claude Schneegans wrote:
  where redirectTo simply redirects the page over to some place and sends
 the encoded value over with it.

  How can this be accomplished in PHP (using mcrypt library for instance)?

 Something is not clear: why does it has to be done in PHP since 
 apparently it is not done yet,
 and you seem to do not know how to do it?
   
I thought it was going to be easy :) Apparently it isn't. And PHP part 
is a requirement I can't change, unfortunately :(


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295334
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Send Blowfish-encoded string to PHP

2007-12-24 Thread Dmitrii 'Mamut' Dimandt
Unfortunate as it is, but I need to send a string encrypted with 
Blowfish over to a PHP page, decrypt it there and use it there.

Let's say:

cfset x = encrypt(var,key,blowfish,hex)
cfset redirectTo('som_page/?v=#x#')


where redirectTo simply redirects the page over to some place and sends 
the encoded value over with it.

Now, in Coldfusion I could easily do

cfset x = decrypt(var,key,blowfish,hex)


How can this be accomplished in PHP (using mcrypt library for instance)?

All I get back is a bunch of unreadable characters :(

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295322
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4