摘要: #pragma mark- MD5加密- (NSString *)md5:(NSString *)str{ const char *cStr = [str UTF8String]; unsigned char result[16]; CC_MD5(cStr, strlen(cStr), result... 阅读全文
posted @ 2014-11-07 15:21 陈龙海 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 引入头文件#include #include - (NSString *)getIPAddress { NSString *address = @"error"; struct ifaddrs *interfaces = NULL; struct ifaddrs *temp_addr = NULL... 阅读全文
posted @ 2014-11-07 15:20 陈龙海 阅读(185) 评论(0) 推荐(0) 编辑