123456789101112131415 |
- // acmstrdec.cpp : 定义 DLL 应用程序的导出函数。
- //
- //#include "stdafx.h"
- #include "acmstrdec.h"
- #include "libcrypt32.h"
- const static unsigned char seed_key []= {0x81,0x32,0x13,0xf5,0x29,0x3b,0x52,0x37,0x61,0x98,0x33,0x15,0x72,0x31,0xfe,0x34};
- int decodestring(unsigned char * out ,int outLen,const unsigned char * in,int inLen)
- {
- unsigned char * rest = FieldDecrypt(in,inLen,seed_key ,out);
- if (rest == 0)
- return 0;
- else
- return 1;
- }
|