3DES encrypt result in PHP, JAVA and .NET produces different result from 3DES iOS
I'm trying to upgrade my current app in iOS 8, to adapt to the new encryption SHA256 of Redsys / Sermpa. But I have problems in data encryption. In PHP, Java and .NET I get a result, completely different from iOS. I think the problem must be in the 3DES IOS CCCrypt. The PHP, JAVA and .NET code is a library, I can not alter that library. I have to make the result of encryption in iOS, is identical to right result encrypt in PHP, JAVA and .NET. Library Java Code: String secretCodeString = "Mk9m98IfEblmPfrpsawt7BmxObt98Jev"; String Ds_Merchant_Order = "1442772645"; String Ds_MerchantParameters =