AES interoperability between .Net and iPhone?
At the very least, you are using differing initialization vectors (IV). The .Net code uses the key for IV. private static AesCryptoServiceProvider GetProvider(byte[] key) { //Set up the encryption objects AesCryptoServiceProvider result = new AesCryptoServiceProvider(); byte[] RealKey = Encryptor.GetKey(key, result); result.Key = RealKey; result.IV = RealKey; return result; } and private static byte[] GetKey(byte[] suggestedKey, … Read more