interestingly enough, on a device T-Mobile G2, things are fast - like on the order that I would expect - 10 to 15 seconds. so i guess this is less important, however, it's still troubling that it's so slow on the simulator.
On Dec 29, 9:14 am, sdphil <[email protected]> wrote: > hi, > > I am trying to do AES decryption like this -- > > Cipher cipher = Cipher.getInstance("AES/ECB/PKCS5Padding"); > cipher.init(Cipher.DECRYPT_MODE, aesKey); > cipher.update(encryBytes, 0, encrByteCount); > > And it is taking me about 2.5+ seconds to run just the cipher.update > (i.e. I excluded the init and getInstance() calls) for 65KB of data -- > which seems way too long. > > What this translates to (roughly) 60 seconds for a 1.5MB file. Which > is uber slow. > > I *am* actually seeing 60 or so seconds when I try to decrypt that big > of a file (looping through and feeding buffers). > > Does anybody know why AES decryption is so slow on Android? A co- > worker is seeing times around 10 seconds for the same file on a RIM > device. > > tia. -- 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

