Is it possible and worth trying to develop some kind of server application using the Android NDK that will encrypt data (or just use some built-in Linux library libraries) transferred to it from a regular Java-based application?
I tried using the Cipher library, but it took almost a minute to encrypt a 2 MB file using AES. And blowfish is not available in Cipher until Android 2.3 (?). And I doubt it will be much faster.
I used blowfish to encrypt on Symbian, and it was much faster (less than 5-10 seconds), so I think that in android it is slower due to the use of the Java virtual machine, and I would like to try my own application for it.
Has anyone done this before?
EDIT: Encryption in NDK is much faster. Do it there. There is a similar question with the same answer for AES: AES decryption on Android is too slow to be usable. Will NDK be faster? Other ideas?
shtolik
source share