我有一些加密数据,我想在应用程序启动后对其进行解密。我用这段代码来做:
NSMutableData *FR2ENData=[NSMutableData dataWithContentsOfFile:FR2ENFilePath];
FR2ENData=[FR2ENData decryptedWithKey:@"XXXXXXXX"];
NSString * FR2ENString = [NSString stringWithUTF8String:[FR2ENData bytes]];
NSArray *FR2EN0=[FR2ENString componentsSeparatedByString:@"\n"];
我收到了这条警告信息:
找不到实例方法“-decrytedWithKey”(将默认 tyoe 返回为“id”)
我怎样才能清洁它?
提前致谢 :)