資源簡介
ios開發,如何使用Tea加密解密,以及加密后存儲數據,如何正確解密

代碼片段和文件信息
//
//??AppDelegate.m
//??TeaSecurity
//
//??Created?by?TC?on?15/11/11.
//??Copyright???2015年?TC.?All?rights?reserved.
//
#import?“AppDelegate.h“
@interface?AppDelegate?()
@end
@implementation?AppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????//?Override?point?for?customization?after?application?launch.
????return?YES;
}
-?(void)applicationWillResignActive:(UIApplication?*)application?{
????//?Sent?when?the?application?is?about?to?move?from?active?to?inactive?state.?This?can?occur?for?certain?types?of?temporary?interruptions?(such?as?an?incoming?phone?call?or?SMS?message)?or?when?the?user?quits?the?application?and?it?begins?the?transition?to?the?background?state.
????//?Use?this?method?to?pause?ongoing?tasks?disable?timers?and?throttle?down?OpenGL?ES?frame?rates.?Games?should?use?this?method?to?pause?the?game.
}
-?(void)applicationDidEnterBackground:(UIApplication?*)application?{
????//?Use?this?method?to?release?shared?resources?save?user?data?invalidate?timers?and?store?enough?application?state?information?to?restore?your?application?to?its?current?state?in?case?it?is?terminated?later.
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}
-?(void)applicationWillEnterForeground:(UIApplication?*)application?{
????//?Called?as?part?of?the?transition?from?the?background?to?the?inactive?state;?here?you?can?undo?many?of?the?changes?made?on?entering?the?background.
}
-?(void)applicationDidBecomeActive:(UIApplication?*)application?{
????//?Restart?any?tasks?that?were?paused?(or?not?yet?started)?while?the?application?was?inactive.?If?the?application?was?previously?in?the?background?optionally?refresh?the?user?interface.
}
-?(void)applicationWillTerminate:(UIApplication?*)application?{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}
@end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-11-11?12:37??Tea\
?????目錄???????????0??2015-11-13?13:10??Tea\.git\
?????文件???????????4??2015-11-11?13:25??Tea\.git\COMMIT_EDITMSG
?????文件?????????305??2015-11-11?12:33??Tea\.git\config
?????文件??????????73??2015-11-11?12:33??Tea\.git\desc
?????文件??????????93??2015-11-20?16:28??Tea\.git\FETCH_HEAD
?????文件??????????23??2015-11-13?13:09??Tea\.git\HEAD
?????目錄???????????0??2015-11-11?12:33??Tea\.git\hooks\
?????文件?????????452??2015-11-11?12:33??Tea\.git\hooks\applypatch-msg.sample
?????文件?????????896??2015-11-11?12:33??Tea\.git\hooks\commit-msg.sample
?????文件?????????189??2015-11-11?12:33??Tea\.git\hooks\post-update.sample
?????文件?????????398??2015-11-11?12:33??Tea\.git\hooks\pre-applypatch.sample
?????文件????????1642??2015-11-11?12:33??Tea\.git\hooks\pre-commit.sample
?????文件????????1352??2015-11-11?12:33??Tea\.git\hooks\pre-push.sample
?????文件????????4951??2015-11-11?12:33??Tea\.git\hooks\pre-reba
?????文件????????1239??2015-11-11?12:33??Tea\.git\hooks\prepare-commit-msg.sample
?????文件????????3611??2015-11-11?12:33??Tea\.git\hooks\update.sample
?????文件????????4305??2015-11-13?13:10??Tea\.git\index
?????目錄???????????0??2015-11-11?12:33??Tea\.git\info\
?????文件?????????240??2015-11-11?12:33??Tea\.git\info\exclude
?????目錄???????????0??2015-11-11?12:33??Tea\.git\logs\
?????文件?????????785??2015-11-13?13:09??Tea\.git\logs\HEAD
?????目錄???????????0??2015-11-13?13:10??Tea\.git\logs\refs\
?????目錄???????????0??2015-11-11?12:33??Tea\.git\logs\refs\heads\
?????文件?????????453??2015-11-11?13:25??Tea\.git\logs\refs\heads\master
?????目錄???????????0??2015-11-11?12:33??Tea\.git\logs\refs\remotes\
?????目錄???????????0??2015-11-11?12:38??Tea\.git\logs\refs\remotes\origin\
?????文件?????????175??2015-11-11?12:33??Tea\.git\logs\refs\remotes\origin\HEAD
?????文件?????????284??2015-11-11?13:25??Tea\.git\logs\refs\remotes\origin\master
?????目錄???????????0??2015-11-13?13:09??Tea\.git\ob
?????目錄???????????0??2015-11-11?12:38??Tea\.git\ob
............此處省略223個文件信息
- 上一篇:CAD視頻教程百度云資源鏈接類型
- 下一篇:移遠EC20模塊原理圖和封裝庫
評論
共有 條評論