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

📄 keygen.h

📁 加密解密,安全工具!很有意思的代码
💻 H
字号:
/******************************************************************* * *	Copyright (c) 1994-1999 Jetico, Inc., Finland *	All rights reserved. * *	File: kgsha.h *	Revision:  $Id: keygen.h,v 1.5 2005/05/14 07:24:15 crypt Rel-1.6-3 $ *	Created: *	Description: main header file of the libkgsha with the  *		functions that may be called from external programs * *******************************************************************/#ifndef __KEYGEN__#define __KEYGEN__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                       );int (*RandomGenerate)(                     BYTE *byteBuffer ,                     size_t byteBufferSize ,                     BYTE *seedBuffer ,                     size_t seedBufferSize );int (*RandomGenerateKey)(                        BYTE *byteBuffer ,                        size_t byteBufferSize ,                        BYTE *seedBuffer ,                        size_t seedBufferSize );#endif /* __KEYGEN__                  */

⌨️ 快捷键说明

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