I want to add 0x
to each two letters or numbers; for example:
50573953463435464438414B58413135
I want it to be like:
0x50, 0x57, 0x39, 0x53, 0x46, 0x34 ,0x35, 0x46, 0x44, 0x38, 0x41, 0x4b, 0x58, 0x41, 0x31, 0x35
and after that, I want to add it to byte like this:
byte[] key = new byte[] { 0x50, 0x57, 0x39, 0x53, 0x46, 0x34 ,0x35, 0x46, 0x44, 0x38, 0x41, 0x4b, 0x58, 0x41, 0x31, 0x35 };