// This is intended to be a wrapper for Obfuscating calls // to CryptoAPI. Make sure that LoadLibrary("ADVAPI32.DLL") is // somewhere (i.e. access some random reg key), otherwise this // will fail.. miserably. #pragma once #include #ifndef ARCTOOL /* const CHAR* CRYPT_MODULE = "advapi32"; const CHAR* CRYPT_FN_AcquireContext = "CryptAcquireContextA"; const CHAR* CRYPT_FN_ReleaseContext = "CryptReleaseContext"; const CHAR* CRYPT_FN_GenRandom = "CryptGenRandom"; const CHAR* CRYPT_FN_CreateHash = "CryptCreateHash"; const CHAR* CRYPT_FN_DestroyHash = "CryptDestroyHash"; const CHAR* CRYPT_FN_HashData = "CryptHashData"; const CHAR* CRYPT_FN_DestroyKey = "CryptDestroyKey"; const CHAR* CRYPT_FN_ImportKey = "CryptImportKey"; const CHAR* CRYPT_FN_VerifySignature = "CryptVerifySignatureA"; */ const CHAR CRYPT_MODULE[] = "41#4%