char textOut[25]="This text is for Encryption"; for(int q=0;q<=len;q++) { textOut[q]=textOut[q]^0xAA; } MessageBox(NULL,textOut,"",MB_OK);
XOR
char plain = 'A'; char encrypted = plain ^ 0xAA; char decrypted = encrypted ^ 0xAA; assert(plain==decrypted);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)