Any cocoa source code for AES encryption decryption?
I use a simple category on NSData that uses the built-in CommonCrypto framework to do AES 256-bit encryption. I use this on the Mac but it should work OK on iPhone too: #import <CommonCrypto/CommonCryptor.h> @implementation NSData (AESAdditions) – (NSData*)AES256EncryptWithKey:(NSString*)key { // ‘key’ should be 32 bytes for AES256, will be null-padded otherwise char keyPtr[kCCKeySizeAES256 + … Read more