userhead.h

来自「一个基于3des加密、解密程序」· C头文件 代码 · 共 48 行

H
48
字号
#ifndef USERSTRUCT_H_
#define USERSTRUCT_H_

#define BUFFSIZE		2048
#define DETAILSIZE		1024
#define STX				0x02
#define ETX				0x03
#define TMPSIZE			1024

#define BANKDETAILLEN	35
#define BANKTRANSLEN	19
#define DEPOSITLEN		44
#define WITHDRAWLEN		44
#define DEFECTSWAPLEN	72
#define LOSSSWAPLEN		72
#define BANKBALENCELEN	19
#define MAKEACCOUNTLEN  274
#define CARDNOLEN		12
#define ACCOUNTLEN		16
#define CARDIDLEN		6
#define WALLETLEN		2
#define HEXPINLEN		8
#define HEXMACLEN		8
#define PINLEN			16
#define MACLEN			16

#ifndef uchar
#define uchar unsigned char
#endif

#define CANCELNUM		3		//冲正重试次数

#define SERVER_INI	"Server.ini"

//xiongye add
static unsigned char MacKey[9]="88888888";
//xy20031012

static unsigned char TransKeyLeft[8]={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};
static unsigned char TransKeyRight[8]={0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18};


static unsigned char TransKeyLeft1[8]=
	{0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};
static unsigned char TransKeyRight1[8]=
	{0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18};

#endif

⌨️ 快捷键说明

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