摘要: #import "ViewController.h" #import "RSA.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //公钥,用于加密数据. 用于公开, 一般存放在数据提供方... 阅读全文
posted @ 2016-04-07 20:57 胡一波 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 引入头文件 #import "ViewController.h" #import "KeychainItemWrapper.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //创建... 阅读全文
posted @ 2016-04-07 20:55 胡一波 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 引入框架#import "ViewController.h" #import @interface ViewController () //添加数组属性 @property (nonatomic, strong) NSMutableArray *array; @end @implementation ViewController #warning ---重中之重--- //移除观察... 阅读全文
posted @ 2016-04-07 20:50 胡一波 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 方法一: 方法二: 创建MD5的类目,在ViewController中调用即可 对本地数据的加密 阅读全文
posted @ 2016-04-07 20:30 胡一波 阅读(122) 评论(0) 推荐(0) 编辑