⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htdigest.h

📁 www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
💻 H
字号:
/*  					W3C Sample Code Library libwww Generic Message Digest  Interface!  Generic Message Digest Interface!*//***	(c) COPYRIGHT W3C, INRIA 1998.**	Please first read the full copyright statement in the file COPYRIGHT.*//*Contains a generic interface to the message digest algorithms, inspiredfrom the RSA-Euro toolkit. For the moment, it only covers MD5.SHA and other algorithms could be added later on. This code is onlyused during message digest authentication.AUTHORS:   JK	Jose Kahan       jose@w3.orgHISTORY:        Dec 98 JK	Created the module from scratchThis module is implemented by HTDigest.c, and itis a part of the W3C Sample CodeLibrary.*/#ifndef HTDigest_H#define HTDigest_H/* Library include files */#include "WWWLib.h"/* add the MD algorithm header files here below */#include "md5.h"/*.  Interface to message digest algorithms.The list of known message digest algorithms*/#define HTDaMD5 1/*This is our general digest context structure. If you add a newalgorithm, include its context in the union.*/typedef struct _HTDigestContext {  int algorithm;              union {            MD5_CTX md5;    } context;} HTDigestContext;/*This is a set of generic functions for generating a message digest*/extern BOOL HTDigest_init (HTDigestContext *context, int digesttype);extern BOOL HTDigest_update (HTDigestContext *context, char *input, unsigned int inputLen);extern BOOL HTDigest_final (unsigned char *digest, HTDigestContext *context);/**/#endif	/* NOT HTDigest_H *//*    @(#) $Id: HTDigest.html,v 2.3 1999/02/22 15:54:19 kahan Exp $*/

⌨️ 快捷键说明

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