AES encryption libraries/API - Android Q&A, Help & Troubleshooting

Hi,
Are there any AES encryption libraries/APIs that an Android app can call to perform on the fly encryption? Something like openssl or Brian Gladman's AES C/C++ libraries? If I were to write an app that encrypts data before storing on the sdcard/internal memory, how would I do it?
Thanks.

There are a million ways of using encryption. It really depends on your needs. The AES algorithm is a standard and published in various programming languages, so it should be a simple task, but are you implementing it in a proper way? Do you just want to obscure data on the SDCard, or are you going to require a password each time the app needs the plaintext?
Edit: javax.crypto supports AES et al:
http://developer.android.com/reference/javax/crypto/package-summary.html

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Thanks Gene Poole, and sorry lufc.

lol.. How could this happen??

Related

[Q] SQLite Bad Practice?

So I feel that I already know the answer to this question (Which is no) but I feel I should ask just in case.
I am developing my first app for android and have a question whether or not my current method of storing data in a SQLite database is considered bad practice and should be re-evaluated before I go any further.
Basically I am creating a changes tracking app. The user can specify a project and add entries for that project to track changes, ideas, etc.
The current way I am storing the data in the SQLite database is by creating an individual table for every project and then storing the entries for that project within that projects table.
This is what my question is in regards to, is it bad practice to create a separate table for each project? I realize that with enough projects my database would be overrun by tables.
If anyone has any suggestions of a better way to do such a structure in SQLite (Projects with entries) it would be greatly appreciated.

[Q] how secure is the device encryption on the 10.1¿

I just encrypted my tab after my laptop and phone were stolen. Mine is the wifi version which kinda makes a remote wipe kinda moot in case of theft.
Question is, how fool proof is the encryprion on the tab? Thanks
Notes on the implementation of encryption in Android 3.0
The actual encryption used for the filesystem for first release is 128 AES with CBC and ESSIV:SHA256. The master key is encrypted with 128 bit AES via calls to the openssl library.
Click to expand...
Click to collapse
If your password is reasonably secure, your personal data also is.
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[Q] App for file encryption/decryption

Would appreciate suggestions on free apps which allow to encrypt & decrypt files.
Looking for something with a simple GUI, and which uses an established encryption algorithm like AES, blowfish etc..
Would be great if it also encrypted entire folders.
TIA
There's a program called droidcrypt, that seems to fit your needs.
It isn't free, but there's a trial version avaible.

Newbie app development help.

Hello guys, this is my first post here in the forum and i'm looking for a very specific answer, hope you can help me.
So I had this idea for an app that could really optimize the way people work here @ my workplace, but the thing is: i know nothing about programming and development
The question is: how hard would it be/how long would it take for a complete newbie to develop this app? (description below).
It consists basically in a scheduler & task assignment app. It must be able to:
Register two kinds off app users: workers/schedulers (WS) and schedulers only (SO).
Create WS subgroups (something like tags or flags so tasks can be assigned to a specific subgroup of WS').
Allow WS to create their own daily schedule and share it with all schedulers.
Allow SO to have access to all WS' schedules and fill them remotely.
Allow SO to auto-assign tasks to the nearest availabe WS of an specific subgroup.
Allow both WS and SO to see wich tasks were assigned by each one.
This is the main idea, of course there are some minor changes and details that I need to add, but this is enough to get the main idea.
Waiting for an answer, thank you in advance.

Xposed with shared library.

I was struggling not to make that kind of posts but as far I can see, I definitely need help in order to proceed.
I need help with hacking an app. The application in question utilizes AES encryption for some subset of web requests. As I understand, the key for encryption is generated by the app at native code level which then used for encrypting/decrypting internet traffic, using shared library. In addition to that, there is a method to fetch the encryption key, if my understanding of the process is correct.
Personally, I don't follow the whole sequence of actions it does to encode/decode data (app heavily utilizes both java, native arm code and server-obfuscated JS code so it'd a bit complicated to follow). So, I thought that it might be faster and more effective to go straight for the key, so the plan was writing xposed module which would fetch it.
I haven't developed for Android platform before so please bear with my ignorance. As I understand, if the method in shared library is called Java_<class>_<method> then it can be declared in that class and be called from there. If the library is checked using IDA Pro, you could see a bunch of method following that naming approach in Exports tab. The problem is that the key fetching method uses different naming/declaration - <ClassA>::<ClassB>::<Method> (and its export name is something like _ZN3ClassA6ClassB9MethodEv). While I have a vague idea of calling typical native class methods (Java_.... ones), I don't have a slightest idea if <Class1>::<Class2>::<method> could be called from Java code somehow.
Any help would be appreciated.

Categories

Resources