One way to get around the issue of reading the symmetric key the from the encrypted bytestream is to not store it there and not use a symmetric algorithm. Use a public/private key algorithm where you don't get a decryption key until after a valid authentication with the key-serving system.
http://www.insideria.com/2008/04/encryption-in-flex-application-2.html -Andrew Westberg --- In flexcoders@yahoogroups.com, "kaleb_pederson" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "Ritesh Yadav" > <riteshyadav14@> wrote: > > 1. Can i send or Use .swf file from flex in encrypted manner so > > no one can catch the .swf file with the help swf catcher tool. > > If yes let me know how to do that with flex. > > Sorry I'm a little late (ok, quite late) on this response. I saw > your original post but was too busy to respond adequately at the > time. > > Yes you can! Here's the brief summary: > > 1. Encrypt the SWF using an encryption algorithm supported in > as3crypto > 2. Create a wrapper SWF that loads the encrypted SWF, decrypts it, > and passes it to the SWFLoader. > 3. Sit back and relax! > > As the details take quite a bit more work, I wrote them up in a blog > post: > > http://blogs.soph-ware.com/?p=14 > > I hope that helps. > > --Kaleb >