Linked Questions
11 questions linked to/from AES gets different results in iOS (Obj-C) and Android (Java)
73 votes
9 answers
113k views
Good AES Initialization Vector practice
per my question Aes Encryption... missing an important piece, I have now learned that my assumption for creating a reversible encryption on a string was a bit off. I now have public static byte[...
21 votes
5 answers
23k views
Encryption compatible between Android and C#
I've found plenty of examples how to do encryption in C#, and a couple for Android, but I'm particularly looking for a way to handle encrypting (using something like AES, TripleDES, etc.) from Android,...
15 votes
6 answers
35k views
Encryption using AES-128 in Android and IPhone (Different result)
I am trying to encrypt some text using the AES algorithm on both the Android and IPhone platforms. My problem is, even using the same encryption/decryption algorithm (AES-128) and same fixed variables ...
9 votes
2 answers
7k views
AES encryption makes different result in iOS and Android
Trying to encrypt sample data using AES128 algorithm with CBC and PKCS7 padding in Android and iOS, but results are different :( Android code: private static final byte[] KEY = { 0x01, 0x02, 0x03, ...
1 vote
4 answers
8k views
AES 128 Implementation with predefined key
I am trying to implement AES128 algorithm on Android, and I have referenced this link for a basic AES implementation (http://java.sun.com/developer/technicalArticles/Security/AES/AES_v1.html). The ...
13 votes
1 answer
10k views
AES encryption in iOS and Android, and decryption in C#.NET
First thing first. Some time ago I needed a simple AES encryption in Android to encrypt a password and send it as a parameter for a .net web service where the password was decrypted. The following is ...
6 votes
3 answers
3k views
Android AES 128 encryption
I'm trying to implement AES128 encryption on an Android. I've got a solution working on an iPhone with Objective C but having trouble porting it to Android. I've searched stackoverflow for a ...
2 votes
1 answer
5k views
AES Encryption in iOS and Java
I am a newbie to this encryption. I am creating an application for both android and iOS in which i have to encrypt(using AES Encryprtion) a file at server side and decrypt at client side in both iOS ...
3 votes
3 answers
6k views
AES Encryption done on both Iphone and Android
We are creating same project in android and iphone. Now problem is that we need to send user information to aspx server using webservice in encrypted form. We both have implemented it but results are ...
0 votes
1 answer
2k views
Simple AES encryption and decryption not returning original text
I am using the following simple encrypt and decrypt functions just to see that it works before using more complicated security features like padding and hashing. For some reason the returned clear ...
-4 votes
1 answer
245 views
AES encryption for iOS and Android
We are creating same project in android and iPhone. Now the problem is that we need to send some information to php server using web service in aes encrypted form. We both have implemented it but ...