kgsha.h

来自「加密解密,安全工具!很有意思的代码」· C头文件 代码 · 共 61 行

H
61
字号
/******************************************************************* * *	Copyright (c) 1994-1999 Jetico, Inc., Finland *	All rights reserved. * *	File: kgsha.h *	Revision:  $Id: kgsha.h,v 1.1 2005/05/12 09:51:39 crypt Rel-1.6-3 $ *	Created: *	Description: main header file of the libkgsha with the  *		functions that may be called from external programs * *******************************************************************/#ifndef __KGSHA__#define __KGSHA__BOOL GetNameAndVersion( 			char  *Name, 			DWORD  nameSize, 			DWORD *Major, 			DWORD *Minor 			);BOOL CreateKeyHandle(		ALG_SERV Alg,		/* what Encryption Algorithm will use the encryption key */		DWORD	AlgKeyLength,	/* encryption key length for the Encryption Algorithm */		char	*Text,		/* Any information text (optional parameter) */		char	*Caption,	/* Caption of the "get password" dialog window (optional parameter) */		DWORD	CreateFlag,	/* whether to create new key or open existing */		BYTE	**vDataBlock,	/* block of data that is stored inside file-container in encrypted form */		DWORD	*DataSize,	/* size of the block of data */		DWORD	*KeyHandle,	/* returned Key Handle */		DWORD	*ErrorCode	/* if the function returns FALSE, look at the Error code */		);BOOL CreateKeyHandleEx(        ALG_SERV Alg,		    /* what Encryption Algorithm will use the encryption key */		DWORD	AlgKeyLength,	// encryption key length for the Encryption Algorithm		char	*Text,			// Text, containing filename of the container		char	*Caption,		// Caption of the "get password" dialog window		DWORD	CreateFlag,		// whether to create new key or open existing		BYTE	**vDataBlock,	// block of data that is stored inside file-container in encrypted form		DWORD	*DataSize,		// size of the block of data		DWORD	*KeyHandle,		// returned Key Handle		DWORD	*ErrorCode,		// if the function returns FALSE, look at the Error code		DWORD	*DataOffset		);DWORD FreeDataBlock( BYTE **vDataBlock );DWORD FreeKeyHandle( 		ALG_SERV Alg,		DWORD KeyHandle 		);#endif /* __KGSHA__                  */

⌨️ 快捷键说明

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