#include "pch.h" #include "AipApiManager.h" #include "TWinCryptF.h" #include #include #include #include #include #include #include #include #include #include #include using namespace std; extern "C" { // SHA-256 ÇØ½Ã¸¦ »ý¼ºÇÏ´Â ÇÔ¼ö AIPAPIMANAGER_API std::string __stdcall AipApiEncrpyt(const char* AEncMessage) { try { TWinCrypt crypt; std::string sEncrypted = crypt.EncryptStrToHex(AEncMessage); return sEncrypted; } catch (const std::exception& ex) { std::string errorMessage = ex.what(); return ""; } } }