C/C++ encryption (UNICODE Example)

// encrypted with www.stringencrypt.com (v1.0.0) [C/C++]
// wszLabel = "C/C++ String Encryption"
wchar_t wszLabel[24] = { 0x1249, 0x1275, 0x1261, 0x1279, 0x1279, 0x1284, 0x1239, 0x1218,
                         0x121A, 0x1243, 0x1216, 0x1245, 0x138C, 0x1267, 0x121E, 0x1249,
                         0x121A, 0x1233, 0x121C, 0x1230, 0x121B, 0x121D, 0x121E, 0x1284 };
 
for (unsigned int EpKHC = 0, HNUrJ = 0; EpKHC < 24; EpKHC++)
{
	HNUrJ = wszLabel[EpKHC];
	HNUrJ -= EpKHC;
	HNUrJ = ~HNUrJ;
	HNUrJ ^= 0x8D7C;
	HNUrJ += 0xFC5C;
	HNUrJ ^= 0xE617;
	HNUrJ -= 0xBB74;
	HNUrJ = ~HNUrJ;
	HNUrJ -= EpKHC;
	HNUrJ ++;
	wszLabel[EpKHC] = HNUrJ;
}
 
wprintf(wszLabel);

C/C++ encryption (ANSI Example)

// encrypted with www.stringencrypt.com (v1.0.0) [C/C++]
// szLabel = "How to encrypt string?"
unsigned char szLabel[23] = { 0xA0, 0x80, 0x69, 0x3B, 0x68, 0x84, 0x3E, 0x7C,
                              0x86, 0x84, 0x74, 0x7C, 0x74, 0x71, 0x46, 0x7A,
                              0x74, 0x7B, 0x93, 0x91, 0x8B, 0x44, 0x6E };
 
for (unsigned int kGInh = 0, IPciK = 0; kGInh < 23; kGInh++)
{
	IPciK = szLabel[kGInh];
	IPciK --;
	IPciK -= kGInh;
	IPciK -= 0xA3;
	IPciK += kGInh;
	IPciK -= kGInh;
	IPciK = ~IPciK;
	IPciK ^= 0x4B;
	szLabel[kGInh] = IPciK;
}
 
printf(szLabel);