I don't know what data you're trying to encrypt/decrypt but when we tried using SHAxxx hashing in both AS3 and C# we ended up with problems any time the source data had characters beyond ascii 127 character set. The encryption algorithms in .NET deal with bytes and even though we had tried using the same encodings to convert strings to bytes in .NET / AS3 we couldn't not get the hashing algorithms to do the same thing.
Perhaps you're problems are related... HTH, Sam ------------------------------------------- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of peeyushtuli Sent: Friday, November 30, 2007 12:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices 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. 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