代码是基于GMSSL的国密SM9算法。包括签名,密钥交换,加密,解密。demo直接运行就可以,有相关测试数据。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-12-06 14:56 DomesticCryptographyAlgorithm
文件 882 2018-12-06 14:37 DomesticCryptographyAlgorithmuser.pem
目录 0 2019-01-18 11:05 __MACOSX
目录 0 2019-01-18 11:05 __MACOSXDomesticCryptographyAlgorithm
文件 228 2018-12-06 14:37 __MACOSXDomesticCryptographyAlgorithm._user.pem
文件 8196 2018-12-06 17:16 DomesticCryptographyAlgorithm.DS_Store
文件 120 2018-12-06 17:16 __MACOSXDomesticCryptographyAlgorithm._.DS_Store
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTests
文件 990 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTestsDomesticCryptographyAlgorithmTests.m
目录 0 2019-01-18 11:05 __MACOSXDomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTests
文件 171 2018-12-03 15:56 __MACOSXDomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTests._DomesticCryptographyAlgorithmTests.m
文件 701 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTestsInfo.plist
文件 798 2018-12-05 10:13 DomesticCryptographyAlgorithmuild-public.cer
文件 228 2018-12-05 10:13 __MACOSXDomesticCryptographyAlgorithm._build-public.cer
目录 0 2019-01-18 10:54 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeproj
文件 79551 2019-01-18 10:54 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.pbxproj
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdata
目录 0 2018-12-03 17:59 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatad
目录 0 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcdebugger
文件 3501 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcdebuggerBreakpoints_v2.xcbkptlist
目录 0 2018-12-24 18:02 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcschemes
文件 4563 2018-12-24 18:02 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcschemesDomesticCryptographyAlgorithm.xcscheme
文件 681 2018-12-24 17:59 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcschemesxcschememanagement.plist
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspace
文件 174 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacecontents.xcworkspacedata
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcuserdata
目录 0 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcuserdatazhangyazhou.xcuserdatad
文件 43278 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcuserdatazhangyazhou.xcuserdatadUserInterfaceState.xcuserstate
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcshareddata
文件 238 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcshareddataIDEWorkspaceChecks.plist
目录 0 2019-01-18 11:05 __MACOSXDomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeproj
............此处省略437个文件信息
//
// 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 DomesticCryptographyAlgorithmuser.pem
目录 0 2019-01-18 11:05 __MACOSX
目录 0 2019-01-18 11:05 __MACOSXDomesticCryptographyAlgorithm
文件 228 2018-12-06 14:37 __MACOSXDomesticCryptographyAlgorithm._user.pem
文件 8196 2018-12-06 17:16 DomesticCryptographyAlgorithm.DS_Store
文件 120 2018-12-06 17:16 __MACOSXDomesticCryptographyAlgorithm._.DS_Store
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTests
文件 990 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTestsDomesticCryptographyAlgorithmTests.m
目录 0 2019-01-18 11:05 __MACOSXDomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTests
文件 171 2018-12-03 15:56 __MACOSXDomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTests._DomesticCryptographyAlgorithmTests.m
文件 701 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithmTestsInfo.plist
文件 798 2018-12-05 10:13 DomesticCryptographyAlgorithmuild-public.cer
文件 228 2018-12-05 10:13 __MACOSXDomesticCryptographyAlgorithm._build-public.cer
目录 0 2019-01-18 10:54 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeproj
文件 79551 2019-01-18 10:54 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.pbxproj
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdata
目录 0 2018-12-03 17:59 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatad
目录 0 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcdebugger
文件 3501 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcdebuggerBreakpoints_v2.xcbkptlist
目录 0 2018-12-24 18:02 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcschemes
文件 4563 2018-12-24 18:02 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcschemesDomesticCryptographyAlgorithm.xcscheme
文件 681 2018-12-24 17:59 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojxcuserdatazhangyazhou.xcuserdatadxcschemesxcschememanagement.plist
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspace
文件 174 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacecontents.xcworkspacedata
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcuserdata
目录 0 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcuserdatazhangyazhou.xcuserdatad
文件 43278 2018-12-04 14:48 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcuserdatazhangyazhou.xcuserdatadUserInterfaceState.xcuserstate
目录 0 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcshareddata
文件 238 2018-12-03 15:56 DomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeprojproject.xcworkspacexcshareddataIDEWorkspaceChecks.plist
目录 0 2019-01-18 11:05 __MACOSXDomesticCryptographyAlgorithmDomesticCryptographyAlgorithm.xcodeproj
............此处省略437个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)