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

Reply via email to