I am developing a mobile application in android and ios which needs to communicate with a server in php.I need to make sure that the communication is secure. I know that I can use ssl but I don't think it's worth to buy an ssl certificate for this project.
So I would like to encrypt the data in the mobile application, and decrypt it server side.
I found this for android/php. But what about ios? How could I implement this class?