md5.h

来自「在linux上实现拨号上网的功能,可以在平台arm上运行,移植性比较好。最新的代」· C头文件 代码 · 共 35 行

H
35
字号
#ifndef MD5_H#define MD5_H/* * LIC: GPL */#include "config.h"#if SIZEOF_UNSIGNED_INT == 4typedef unsigned int uint32;#elif SIZEOF_UNSIGNED_LONG == 4typedef unsigned long uint32;#else# error Could not find a 32-bit integer type#endifstruct MD5Context {	uint32 buf[4];	uint32 bits[2];	unsigned char in[64];};void MD5Init(struct MD5Context *context);void MD5Update(struct MD5Context *context, unsigned char const *buf,	       unsigned len);void MD5Final(unsigned char digest[16], struct MD5Context *context);void MD5Transform(uint32 buf[4], uint32 const in[16]);/* * This is needed to make RSAREF happy on some MS-DOS compilers. */typedef struct MD5Context MD5_CTX;#endif /* !MD5_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?