On Thu, Jan 6, 2011 at 1:33 AM, Jake Basile <[email protected]> wrote: > I linked the code on an external site because it was longer than a snippet. > > I found the answer to my question, though, through the help of some people > on StackOverflow. >
Ah, sorry I missed the link. Besides the Base64 stuff, you really shouldn't use ECB. Use CBC instead. That would require using an initial vector, so your code would become a bit more complex. Why? Mainly because identical plaintext blocks are encrypted into identical ciphertext blocks with ECB. It does not hide data patterns, which makes it easier to analyze. For example, all instance of 'android' will be encrypted to the exact same byte sequence. -- You received this message because you are subscribed to the Google Groups "Android Developers" 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/android-developers?hl=en

