dlltestverifysign.cpp

来自「UDP对QQ来说太重要了。 UDP和TCP是同一个层上的协议」· C++ 代码 · 共 27 行

CPP
27
字号
// dllTestVerifySign.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <hmaccess.h>
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>


int main(int argc, char* argv[])
{
			//verify user signature
	char pszUID[]="testsign";
	char pSign[1024]="222222";
	char pHash[]="3333";
	int n=1024;

	int nRet = HMASignature((const unsigned char *)pszUID,6,(const unsigned char *)"RSA",
			pSign,&n);
_CrtDumpMemoryLeaks();
printf("ret=%d",nRet);

	return 0;
}

⌨️ 快捷键说明

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