1

would someone kindly provide me with the simplest forms of encrypting a file with PHP using mcrypt "say .swf" and then decrypting it in my flex application?

thank you in advance.

ps: the file will be served to the Flex application through read_file($file); function.

Rami

Rami GB
  • 789
  • 1
  • 8
  • 19
  • So you wish to encrypt the binary data of the SWF? or an mcrypt functionality within AS3? – Glycerine Nov 07 '10 at 21:11
  • I wish to encrypt the binary data of the swf example encrypt($file,$key); then decrypt it in the flex app, i don't mind using crypto and mcrypt but i would like to have a starting point .. thanks for the reply – Rami GB Nov 07 '10 at 21:20
  • Your subject is a bit misleading; since you don't want to encrypt a SWF, you want to encrypt data. Take a look at http://code.google.com/p/as3crypto/ or http://ascrypt3.riaforge.org/index.cfm for encryption / decryption on the client. I don't know PHP libraries enough to make a recommendation there though. – JeffryHouser Nov 08 '10 at 12:22

0 Answers0