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

📄 cardutil.h

📁 RSA C++源代码DEMO,附加DESMD5等众多算法
💻 H
字号:
#ifndef __CARDUTIL_H
#define __CARDUTIL_H

#ifdef __cplusplus
extern "C" {
#endif


__declspec(dllexport) void  swapbyte(char *);

__declspec(dllexport) char * byte2str(char byte,char *string);
__declspec(dllexport) char * bcd2asc(char *hexstr, char *ascstr,short bcdlen);
__declspec(dllexport) char * asc2bcd(char *ascstr, char *bcdstr,short bcdlen);
__declspec(dllexport) char * bcd2ascb(char *hexstr, char *asc,short bcdlen);
__declspec(dllexport) char * bcd2ascbx(char *hexstr, char *asc,short bcdlen);

void  trimspace(char *string );
short trimtailCRLF(char *, short len);
void  trimspace(char *string );
__declspec(dllexport) unsigned long getcrc32( unsigned char *pBuf,int nLens);
#ifdef __BORLANDC__
__declspec(dllexport) void   currentdate(char *ascdate);
__declspec(dllexport) void   currenttime(char *asctime);
#endif

__declspec(dllexport) short  tlvpack(unsigned char *,unsigned char *, unsigned char *);

#ifdef __cplusplus
}
#endif


#endif

⌨️ 快捷键说明

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