--- In flexcoders@yahoogroups.com, "peeyushtuli" <[EMAIL PROTECTED]> 
wrote:
> Thank you all for the responses, but I have already tried this 
one.
> C# does not have an official implementation for AES, so I had to 
> ignore that one.

Actually, it does.  AES is a subset of Rijndael.  It's basically 
Rijdnael with a few more restrictions (block and key size), so 
that's what you should use.

Docs are here:

http://msdn2.microsoft.com/en-us/library/system.security.cryptography.rijndael.aspx

I started working with ASCrypt3 and found that it needed a lot of 
work.  Specifically, some of the bitshifts were signed and should 
not have been and the padding algorithms were not consistent with 
the standard padding algorithms.

Shortly after I fixed these in a private implementation (feel free 
to let me know if anybody wants these), Metal Hurlant released his 
AS3 Crypto framework.  Once I took a look at Hurlant's AS3 Crypto 
work, I haven't touched ASCrypt3. Hurlant's work is extremely well 
done using common design patterns and enterprise quality tests.

The only thing that was missing in the AS3 Crypto libraries (and 
might not be missing any more) was a couple of padding algorithms.  
However, I have tested for compatibility with both Java and C# using 
the provided padding algorithms and it works perfectly.

Best of luck.

--Kaleb


> I tried Triple DES , but it was not consistent if 
> you try both sides, flex and C#, I guess there is a difference in 
> implementations. I would need to do some substantial test cases, 
> before reporting that to the author. If aybody with a real time 
> implementation experience for this case can guide me, I would be 
> really grateful.
> 
> Thanks,
> Peeyush Tuli
> MetaDesign Solutions
> 
> --- In flexcoders@yahoogroups.com, Jeffry Houser <jeff@> wrote:
> >
> > 
> >   And ascrypt3.riaforge.com .
> > 
> >   As an aside, I could never get ascrypt3 AES to work with 
> ColdFusion, 
> > however I could get crypto AES to work w/ CF.
> > 
> > Florian Sprenger wrote:
> > > 
> > > 
> > > Hi,
> > > 
> > > have a look at As3 Crypto : http://crypto.hurlant.com/ 
> > > <http://crypto.hurlant.com/>
> > > Florian
> > > 
> > >  >
> > >  > There is a requirement to implement encryption some data in 
a 
> Flex
> > >  > based client and decrypt it in a C# based web service, and 
> vice versa.
> > >  > Has anybody tried it with AES, Blowfish or Triple DES?
> > >  > Any pointers would be appreciated.
> > >  >
> > >  > Thanks,
> > >  > Peeyush
> > >  > MetaDesign Solutions
> > >  >
> > > 
> > >  > _
> > >  >
> > >  >
> > > 
> > > -- 
> > > Florian Sprenger, Actionscript Software Developer
> > > sMeet Limited
> > > Gipsstr. 5
> > > D-10119 Berlin
> > > 
> > > Tel: +49-30-9700 <XXX>
> > > Fax: +49-30-9700 5359
> > > Mob: +49-<mobil>
> > > E-Mail: florian.sprenger@ <mailto:florian.sprenger%40smeet.de>
> > > 
> > > Handelsregister Berlin Charlottenburg: HRB 104503 B
> > > 
> > > 
> > 
> > -- 
> > Jeffry Houser, Technical Entrepreneur, Software Developer, 
Author, 
> > Recording Engineer
> > AIM: Reboog711  | Phone: 1-203-379-0773
> > --
> > My Company: <http://www.dot-com-it.com>
> > My Podcast: <http://www.theflexshow.com>
> > My Blog: <http://www.jeffryhouser.com>
> >
>


Reply via email to