Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AES Encryption done on both Iphone and Android

Tags:

android

iphone

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 diiferent so is there a common AES encryption method which will produce same result and can be parsed at server.

Please reply as soon as possible, my work get affected because of it.

Thanks in advance

like image 806
Soniya Avatar asked Mar 20 '26 07:03

Soniya


1 Answers

You could consider using the RNCryptor library for iOS and the JNCryptor library for Android. Both open-source libraries use the same data format and have support for password-based encryption and key-based encryption using 256-bit AES.

The data format also includes the IV and a MAC value calculated across the data, so it conforms with the best practices for data encryption.

like image 114
Duncan Jones Avatar answered Mar 22 '26 19:03

Duncan Jones



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!