c-md5code

所属分类:加密解密
开发工具:C/C++
文件大小:6KB
下载次数:19
上传日期:2009-12-15 10:55:10
上 传 者wangyicai
说明:  带密钥的md5算法库md5lib.h共有下列函数: char* MDString (char *) /*输入任意一个字符串,经过md5算法处理后,返回结果:一个定长(32个字符) 字符串 */ char* MDFile (char *) /*输入任意一个文件名,文件内容经过md5算法处理后,返回结果:一个定长 (32个字符)字符串 */ char* hmac_md5(char* text, char* key) /*输入任意一个字符串text,和一个用做密钥的字符串key,经过hmac_md5算法处 理,返回处理结果:一个定长字符串(32个字符)*/ 具体使用方法可参考例子sample.c,其运行结果在本文后面。
(Md5 algorithm with a key repository md5lib.h total of the following functions: char* MDString (char*) /* enter any one string, after md5 algorithm processing, return the result: a fixed-length (32 characters) string*/char* MDFile (char*) /* enter any of the file name, file contents through the md5 algorithm processing, return the result: a fixed-length (32 characters) string*/char* hmac_md5 (char* text, char* key) /* input a string of arbitrary text, and a string key used as key, after hmac_md5 algorithm processing, return processing results: a fixed-length string (32 characters)*/specific examples of the use of methods can be found sample.c, the results of its operation later in this article.)

文件列表:
c-md5code.txt (35630, 2009-12-15)

近期下载者

相关文件


收藏者