I am searching for some cocoa code on AES encryption and I did some google search for it. I found this very useful link –
http://iphonedevelopment.blogspot.com/2009/02/strong-encryption-for-cocoa-cocoa-touch.html. So I tried it but it did not work for me.
Can anyone suggest me some useful link or source code which can help me to implement it in my sample application.
AES128 encryption is available on the iPhone in the CommonCrypto framework. The relevant functions are in the CommonCryptor.h header.
You can create a cryptor like so:
It seems from the question and the link that you are looking for example implementations of AES. I would not recommend this- use Apple’s implementation!
It looks like http://pastie.org/297563.txt might help you also, but I haven’t tested it.