DLTools.h 483 Bytes
#pragma once
#ifndef DL_TOOLS
#define DL_TOOLS

#include "stdafx.h"
#include <cstring>

void Log(CString sLog);

//extern void StrCopy(char* pDes, char* pSrc, int iLen);

int Encrypt(unsigned char* pSrc, unsigned char u8Len, unsigned char* pKey, unsigned char* pCiphertText);
bool HexToChar(unsigned char* pHex, int iHexLen, unsigned char* pChar);
bool CharToHex(unsigned char* pStr, unsigned char& cHex);
bool StringToHex(unsigned char* pStr, int iLen, unsigned char* pHex);

#endif