首页 > 代码库 > Implicit declaration of function 'CC_MD5' is invalid in C99

Implicit declaration of function 'CC_MD5' is invalid in C99

//导入这个就行了
#import <CommonCrypto/CommonDigest.h>

//没有导包的时候,提示如下:Implicit declaration of function ‘CC_MD5‘ is invalid in C99


CC_MD5( cStr, strlen(cStr),result);