c语言中关于带密钥的md5算法库md5lib.h的使用说明,带密钥的md5算法库md5lib.h共有下列函数: char* MDString (cha...

other.822ee97.svg

带密钥的md5算法库md5lib.h共有下列函数:

char* MDString (cha

date.3eb157a.svg 2016-08-22

download.6ba983b.svg 0

like.c3fecac.svg 0

collect.7885582.svg 0

暂无评分

classify.a4b5ff3.svg

其他

points_download.f07a5fb.svg 1

积分下载

question.a371923.svg

如何获取积分?

带密钥的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

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值