Message from C, C++ talks

June 2019

— What do you like?

— Hey guys, i need help, who can translate this code from c# to c++ ?

— Dunno

— (

— 

Public static byte[] XORDecrypt(byte[] encoded, string Key)
{
byte[] key = Encoding.ASCII.GetBytes(Key);
for (int i = 0; i < encoded.Length; i++) encoded[i] ^= (byte)(key[i % key.Length] >> (i + key.Length) & 255);
return encoded;
}

— But I think I can do it ... I think I can do your work myself

— You sure you can't do it yourself?

— I don't understand anything in c++ but I urgently need this code

— Of course

— Why is that?

— No one is gotta do this.

— All my attempts are in vain

— No? Oh...

— I'm sorry null but I can't do it...

— If u want not do this u can keep an opinion