资源简介

iOS 的demo,SM2 加解密算法,SM4加解密算法,SM2+SM3签名验证签名,加解密,和验证签名的话,需要改私钥,请看demo备注 打开workspace

资源截图

代码片段和文件信息

//
//  AppDelegate.m
//  DomesticCryptographyAlgorithm
//
//  Created by zhangyazhou on 2018/12/3.
//  Copyright © 2018 zhangyazhou. 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 invalidate graphics rendering callbacks. 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 active 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  2018-12-06 14:56  DomesticCryptographyAlgorithm\
     文件         882  2018-12-06 14:37  DomesticCryptographyAlgorithm\user.pem
     目录           0  2018-12-07 14:48  __MACOSX\
     目录           0  2018-12-07 14:48  __MACOSX\DomesticCryptographyAlgorithm\
     文件         228  2018-12-06 14:37  __MACOSX\DomesticCryptographyAlgorithm\._user.pem
     文件        8196  2018-12-06 17:16  DomesticCryptographyAlgorithm\.DS_Store
     文件         120  2018-12-06 17:16  __MACOSX\DomesticCryptographyAlgorithm\._.DS_Store
     目录           0  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithmTests\
     文件         990  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithmTests\DomesticCryptographyAlgorithmTests.m
     目录           0  2018-12-07 14:48  __MACOSX\DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithmTests\
     文件         171  2018-12-03 15:56  __MACOSX\DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithmTests\._DomesticCryptographyAlgorithmTests.m
     文件         701  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithmTests\Info.plist
     文件         798  2018-12-05 10:13  DomesticCryptographyAlgorithm\build-public.cer
     文件         228  2018-12-05 10:13  __MACOSX\DomesticCryptographyAlgorithm\._build-public.cer
     目录           0  2018-12-06 17:20  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\
     文件       55431  2018-12-06 17:20  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.pbxproj
     目录           0  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\xcuserdata\
     目录           0  2018-12-03 17:59  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\xcuserdata\zhangyazhou.xcuserdatad\
     目录           0  2018-12-04 14:48  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\xcuserdata\zhangyazhou.xcuserdatad\xcdebugger\
     文件        3501  2018-12-04 14:48  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\xcuserdata\zhangyazhou.xcuserdatad\xcdebugger\Breakpoints_v2.xcbkptlist
     目录           0  2018-12-04 14:48  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\xcuserdata\zhangyazhou.xcuserdatad\xcschemes\
     文件         352  2018-12-04 14:48  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\xcuserdata\zhangyazhou.xcuserdatad\xcschemes\xcschememanagement.plist
     目录           0  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\
     文件         174  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\contents.xcworkspacedata
     目录           0  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\xcuserdata\
     目录           0  2018-12-04 14:48  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\xcuserdata\zhangyazhou.xcuserdatad\
     文件       43278  2018-12-04 14:48  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\xcuserdata\zhangyazhou.xcuserdatad\UserInterfaceState.xcuserstate
     目录           0  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\xcshareddata\
     文件         238  2018-12-03 15:56  DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist
     目录           0  2018-12-07 14:48  __MACOSX\DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\
     文件         176  2018-12-03 15:56  __MACOSX\DomesticCryptographyAlgorithm\DomesticCryptographyAlgorithm.xcodeproj\._project.xcworkspace
............此处省略333个文件信息

评论

共有 条评论