Don't worry, you know what an IV is and why using 0 is bad, so I won't 'yell' at you :)
You are probably running into padding issues. Since AES is a block cypher, each block must be exactly the correct length I suspect. How are you calling the decrypt code? You're just feeding data into the encryption system and after you are all done with the data, calling final? That should work, but I do not have any way to write code in Flash to test this. If you could have Flash encrypt something, perhaps 101 bytes or so long (odd to ensure padding occurs), and send the plaintext, the key, and the encrypted string (uuencode, hex dump, whatever) I can experiment. --Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

