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

📄 acescrypt.h

📁 这是一个完整的无线通讯工程
💻 H
字号:
#ifndef	_ACESCRYPT_H
#define _ACESCRYPT_H

/*  Definitions of the encryption algorithms we support                      */

#define CRYPT_IDEA      0               /*  IDEA algorithm                   */
#define CRYPT_MDC       1               /*  MDC algorithm                    */
#define CRYPT_DES       2               /*  DES algorithm                    */
#define CRYPT_XOR       3               /*  A basic XOR algorithm            */
#define CRYPT_TOP       4               /*  We support 4 algorithms          */

#ifdef __cplusplus
extern "C" {
#endif
	
#ifdef _VXD
#pragma VxD_LOCKED_CODE_SEG
#endif
	
	unsigned long CRC32(unsigned char *Buffer, unsigned long len);
	unsigned short  crypt_encode  (unsigned char *buffer, unsigned short buffer_size, int algorithm, 
		const unsigned char *key);
	unsigned short  crypt_decode  (unsigned char *buffer, unsigned short buffer_size, int algorithm, 
		const unsigned char *key);
#ifdef __cplusplus
}
#endif


#endif

⌨️ 快捷键说明

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