登录
首页 » 加密解密 » 带密钥的md5算法库md5lib.h共有下列函数: char* MDString (char *) /*输入任意一个字符串,经过md5算法处理后...

带密钥的md5算法库md5lib.h共有下列函数: char* MDString (char *) /*输入任意一个字符串,经过md5算法处理后...

于 2022-01-27 发布 文件大小:5.82 kB
0 167
下载积分: 2 下载次数: 1

代码说明:

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

  • delphi6写的CRC32的算法。 另有付例子程序
    delphi6写的CRC32的加密算法。 另有付加例子程序-Delphi6 CRC wrote the encryption algorithm. Another example of pay increase procedures
    2023-04-28 01:25:03下载
    积分:1
  • aes算法C语言版,个人感觉比较好用的,欢迎大家下载
    aes算法C语言版,个人感觉比较好用的,欢迎大家下载-aes algorithm C language version, individuals feel relatively easy to use, and welcome everyone to download
    2022-01-26 05:12:21下载
    积分:1
  • 利用Rijndael算法进行任意文件的。把任意一个文件分成N个16字节组,最后一组若不足16字节可以用空格去补!...
    利用Rijndael算法进行任意文件的加密。把任意一个文件分成N个16字节组,最后一组若不足16字节可以用空格去补!-Rijndael algorithm using arbitrary file encryption. To arbitrary N of a document is divided into 16-byte groups, and finally a group of less than 16 bytes can be used to fill space!
    2023-04-28 03:20:03下载
    积分:1
  • 数字签名PDF
    应用背景在这篇文章中,我将介绍一个简单的源代码,让您的数字签名PDF文档和修改它的元数据。我会用优秀的 自由港;iText  ;图书馆:itextsharp,可以下载 ;这里。你需要2008个视觉工作室能够打开和建设该项目。关键技术itextsharp提供了很多有趣的功能,创建和操纵PDF文件,但在这篇文章中,我们将只使用数字签名功能。我也会用一些功能来操作# PKCS 12证书。你唯一需要知道的是,我们的数字签名将使用从蛋白提取私钥# 12证书。
    2022-08-06 19:26:08下载
    积分:1
  • the documents encrypted driver source
    文档加密驱动程序源
    2022-04-12 22:16:59下载
    积分:1
  • DES算法的过程
    代码详细的将DES算法的加密过程描述详细,通过MFC进行界面化操作,整体界面良好,具有很强的可读性和很好的独立性,突出了C++的封装型和继承性的有点,值得参考。。。。。。。。。。。。。。。。
    2022-03-02 19:52:45下载
    积分:1
  • 自毁程序
    鉴于单纯设置一个计数器易被查出,通过修改使其不起作用。我们设计的程序可以通过数据文件,软件执行前通过关键字找到计数基数,然后计算和判别,如果在合理范围,则设定新的关键字,将计数基数放在新关键字指定的位置,并执行子程序 则启动自毁程序。
    2022-12-11 09:25:03下载
    积分:1
  • 来自putty的大数运算代码,纯C实现,移植性好,RSA的最实现
    来自putty的大数运算代码,纯C实现,移植性好,RSA的最实现-Large numbers from the putty operation code, a pure C implementation, migration is good, RSA best to achieve
    2023-05-06 00:15:02下载
    积分:1
  • Base64 算法(Author 蒋柏良 Jerry Jiang)
    Base64 加密算法(Author 蒋柏良 Jerry Jiang)-* * DESCRIPTION * Base64 processes input in 24bit chunks by converting each chunk into 4 * bytes of output. It does so by splitting input into four 6bit groups and * using these as indexes in the following substitution table- * const char base64_map[] = * "ABCDEFGHIJKLMNOPQRSTUVWXYZ" * "abcdefghijklmnopqrstuvwxyz" * "0123456789+/" * If an input is not a multiple of 3 bytes, it s padded with zeros. In * this case the output bytes that consist entirely of the pad data are * replaced with = . * * Example * An input of 0x00 0x45 0xF2 is equivalent to 00000000 01000101 11110010 * bit sequence, which s then split into 000000 000100 010111 110010 * and these are substituted to produce the following base64 encoding * A E X y * * RETURN VALUE * b64_length() should return output length for the input of len bytes. * b64_encode() should encode len bytes from src int
    2022-07-18 16:55:26下载
    积分:1
  • AES算法的实现
    AES encryption algorithm implementation
    2022-12-03 09:35:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载