I am in need of a C and Java developer to make changes to an exisitng eclipse Android project which will make use of AES / Rijndael encryption standards rather than the current method which is an XOR.
The existing project reads in data from a file in the form of a byte array and then passes it to the C code library using JNI with the Android NDK. This C code then returns an encrypted byte array back to the java application.
I need a developer to change the current XOR method and replace it with 256 bit Rijndael encryption.
The code for the Rijndael implementation is found here: [url removed, login to view]
I am lost with how to link these files in and build the library so that it is recognized in the JNI.
You will need to:
Download the Rijndael code mentioned above,
Import them into the exising JNI code
code an interface for my java code to call which will accept a byte array of up to 1MB along with an encryption key seed and return the encrypted byte array.
Code a similar method for decryption
Build the .so lib and import into the eclipse project.
The whole thing needs to be pretty efficient. 10MB should take no longer than 2 seconds to encrypt.
Attached is the eclipse project file.