AES GitHub 下载地址 https://github.com/Gurpartap/AESCrypt-ObjC
官方文档
Add this line to your class:
#import "AESCrypt.h"
NSString *message = @"top secret message"; // message 为加密字符串 与密码混合加密
NSString *password = @"p4ssw0rd"; // passwprd 为用户输入的密码
Encrypting
NSString *encryptedData = [AESCrypt encrypt:message password:password]; //加密
Decrypting
NSString *message = [AESCrypt decrypt:encryptedData password:password]; 解密
原文地址:http://blog.csdn.net/yangchen9931/article/details/44903861