Hi
I have finally - after days and days of agony - figured out that I need two forms of encryption for my Digital Signatures Project. The first will will be symmetric (AES) and will encrypt the license data and the second will be a asymmetric (RSA) an will encrypt the symmetric key. Can someone give me pointers on the best methods to use for Android.
For the public/private keys I am using: "RSA/ECB/PKCS1Padding"
(I head ECB is bad so what should I use?, what about the PKCS1Padding - shoudl I be using PKCS5Padding?)
For the symetric keys I will probably use: "AES/???/?????????"
(What mode and padding should I use?)
The provider: "BC"
RSA Keysize: 1024 (I tried 2048 but it didn't work for some reason)
AES Keysize: ???? (suggestions)
Also if you know where I can find a good guide on what is actually supported in Android that would be great.
I am in no way an encryption expert so if anything looks a little precarious here please tell me a better alternative!
If you know of a good combination but are not sure if it is supported on Android please say so, so that I don't end up wasting a whole lot of time to find it is not supported.