#pragma once #include #include using namespace std; class CryptHelper { public: CryptHelper(); ~CryptHelper(); static int Base64DecodeWrap(string str, unsigned char** out); static int AesDecode(unsigned char* ct, int ctLength, unsigned char* key, int keyLength, unsigned char* iv, int ivLength, unsigned char* tag, int tagLength,unsigned char** out); static string DesEncode(string str, string strkey); };