Monday, May 10, 2010

[C++ Source] IE7 & IE8 Decrypter

#include "windows.h"#include "wininet.h"#include "wincrypt.h"#pragma comment(lib, "wininet.lib")#pragma comment(lib, "Crypt32.lib")void GetHashStr(wchar_t *Input, char *Hash){ Hash[0]='\0'; HCRYPTPROV hProv = 0; HCRYPTHASH hHash = 0; CryptAcquireContext(&hProv, 0,0,PROV_RSA_FULL,0); if(CryptCreateHash(hProv,CALG_SHA1, 0, 0,&hHash)) { if(CryptHashData(hHash,(unsigned char *)Input,(lstrlenW(Input)

No comments:

Post a Comment