Skip to content

yang2716210363/sm4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

该demo是基于oc的sm4加解密,

HexToStr.m里定义密钥KEY。

调用: NSString* input = @"today is Monday"; unsigned char* ch_enc = [HexToStr hexEnc:input];//加密 NSString* strEnc = [NSString stringWithFormat:@"%s",ch_enc]; NSLog(@"%@",strEnc);

About

sm4加解密

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 60.6%
  • Objective-C 39.4%