CommonCryptor.h is the title for encrypting C on iPhone. It supports the following algorithms:
kCCAlgorithmAES128, kCCAlgorithmDES, kCCAlgorithm3DES, kCCAlgorithmCAST, kCCAlgorithmRC4
If you are using MacOS, you have CommonCrypto plus all OpenSSL options. I donβt know Objective-C wrappers for these classes, but CommonCrypto is pretty simple as encryption goes.
All these algorithms are common enough so that there are no problems with finding an implementation, regardless of the server platform. Unless you have a good reason to choose another algorithm, AES is a smart choice.
Edit:
SSCrypto offered the answer to this similar question as an Objective-C wrapper for OpenSSL.
source share