Encrypt in Flex - Decrypt in .NET

2013-10-30 Thread Angelo Anolin
Hi, Anyone have a sample implementation of encrypting a string in Flex and decoding it in .NET? Thanks.

Re: Encrypt in Flex - Decrypt in .NET

2013-10-30 Thread Justin Mclean
Hi, > Anyone have a sample implementation of encrypting a string in Flex and > decoding it in .NET? This might help: http://code.google.com/p/as3crypto/ Justin

Re: Encrypt in Flex - Decrypt in .NET

2013-10-30 Thread Deepak MS
I used simple method using Base64 sometime back: Flex: * private* *function* encodeValue(value:String):String { *var* encodePassword:Base64Encoder = *new*Base64Encoder(); encodePassword.encode(value);

RE: Encrypt in Flex - Decrypt in .NET

2013-10-31 Thread Kessler CTR Mark J
: MD2, MD5, SHA-1, SHA-224, SHA-256 -Mark -Original Message- From: Angelo Anolin [mailto:angelo.ano...@gmail.com] Sent: Wednesday, October 30, 2013 10:40 PM To: users@flex.apache.org Subject: Encrypt in Flex - Decrypt in .NET Hi, Anyone have a sample implementation of encrypting a string

Re: Encrypt in Flex - Decrypt in .NET

2013-10-31 Thread Justin Mclean
Hi, > it would be better if you did a one way hash on the client and stored hashed > value in a database +1 and another +1 if you salt that hash. However using a modern GPU it's possible to check about 100 MD5 million hashes a second so it's becoming less and less secure. Justin

RE: Encrypt in Flex - Decrypt in .NET

2013-10-31 Thread Kessler CTR Mark J
Very good point, store the randomly generated salt in a user record next to their salted hashed password. Definitely adds more time to resolving passwords when they have to try hashing with salts. Makes static lookup tables(like rainbow) much harder to use. -Mark -Original Message- F

Re: Encrypt in Flex - Decrypt in .NET

2013-10-31 Thread Stephen C
I use this one as it has some bug fixes. https://github.com/timkurvers/as3-crypto You should be able to pass AES between the 2. I do it with PHP. You may have to play with padding and the IV between the Languages. Thank You, Stephen C -All of my email addresses go to the same place -Save Paper, t