reg.h

来自「经典的DES算法」· C头文件 代码 · 共 46 行

H
46
字号
//+--------------------------------------------------------------------------
//                                                                              
//	reg.h ---- 共享软件加密算法库
//	Copyright (c) 2002-2003 liangs Studio, All rights reserved
//      Created 2003/08/20 by liangs
//      Version: 3.21
//      Homepage: http://liangs99.myetang.com
//      Email: liang_sheng@163.net
//
//---------------------------------------------------------------------------+


#ifdef __cplusplus
extern "C" {
#endif

/* basic export function define */

BOOL WINAPI GetHardDiskId(LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI GetMainBoardId(LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI BlowFishEncrypt(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI BlowFishDecrypt(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI MD5Encrypt(LPTSTR lpInBuffer,LPTSTR lpOutBuffer, int length, LPCTSTR lpRegisterCode);
BOOL WINAPI SHAEncrypt(LPTSTR lpInBuffer,LPTSTR lpOutBuffer, int length, LPCTSTR lpRegisterCode);
BOOL WINAPI Secret16Encrypt(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI CRCFileCheck(LPCTSTR FileNameStr, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI EncryptStringFun1(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI DecryptStringFun1(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI EncryptStringFun2(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI DecryptStringFun2(LPCTSTR lpInBuffer, LPCTSTR lpKey, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI FileEncrypt(LPCTSTR lpInputFileName, LPCTSTR lpOutputFileName, LPCTSTR lpKey, LPCTSTR lpRegisterCode);
BOOL WINAPI FileDecrypt(LPCTSTR lpInputFileName, LPCTSTR lpOutputFileName, LPCTSTR lpKey, LPCTSTR lpRegisterCode);
BOOL WINAPI RSAEncrypt(LPCTSTR lpInBuffer, LPCTSTR D_String, LPCTSTR N_String, int Mode, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI RSADecrypt(LPCTSTR lpInBuffer, LPCTSTR N_String, int Mode, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI Base64Encode(LPCTSTR lpInBuffer, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI Base64Decode(LPCTSTR lpInBuffer, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI CRC32(LPTSTR lpInBuffer, int length, LPTSTR lpOutBuffer, LPCTSTR lpRegisterCode);
BOOL WINAPI DesEncrypt(LPCTSTR lpInBuffer,LPTSTR lpOutBuffer, LPCTSTR lpKey, LPCTSTR lpRegisterCode);
BOOL WINAPI DesDecrypt(LPCTSTR lpInBuffer,LPTSTR lpOutBuffer, LPCTSTR lpKey, LPCTSTR lpRegisterCode);
BOOL WINAPI GetDllVersion(LPTSTR lpOutBuffer);

#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

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