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

📄 shs.h

📁 des和rsa加密算法程序
💻 H
字号:
/*	SHS.H - header file for Secure Hash Standard Code    Copyright (c) J.S.A.Kapp 1994 - 1996.	RSAEURO - RSA Library compatible with RSAREF 2.0.	All functions prototypes are the Same as for RSAREF.	To aid compatiblity the source and the files follow the	same naming comventions that RSAREF uses.  This should aid				direct importing to your applications.	This library is legal everywhere outside the US.  And should	NOT be imported to the US and used there.	Secure Hash Standard Code header file.	Revision 1.00. - JSAK    Revision 1.03. - JSAK*/#ifndef _SHS_H_#define _SHS_H_#include "global.h"#ifdef __cplusplusextern "C" {#endif/* The SHS block size and message digest sizes, in bytes */#define SHS_BLOCKSIZE   64#define SHS_DIGESTSIZE  20/* The structure for storing SHS info */typedef struct {	UINT4 digest [5];             /* Message digest */	UINT4 countLo, countHi;       /* 64-bit bit count */	UINT4 data [16];              /* SHS data buffer */} SHS_CTX;void SHSInit PROTO_LIST ((SHS_CTX *));void SHSUpdate PROTO_LIST ((SHS_CTX *, unsigned char *, int ));void SHSFinal PROTO_LIST ((unsigned char *, SHS_CTX *));#ifdef __cplusplus}#endif#endif /* _SHS_H_ */

⌨️ 快捷键说明

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