byte[] key = new byte[32] { 0xEC, 0x16, 0x50, 0x73, 0xB8,
0x91, 0xCE, 0x40, 0x68, 0x58, 0xEC, 0x31, 0x4E, 0xF1, 0xD3,
0x87, 0x49, 0x27, 0x25, 0xA2, 0x3B, 0xCD, 0xA8, 0x4C, 0x39,
0x41, 0xE2, 0x37, 0x62, 0xEF, 0xE9, 0x43 }; // Encode to Base 64 string string base64Encoded = Convert.ToBase64String(key); // Convert Base 64 string back to a byte array byte[] bytes = Convert.FromBase64String(base64Encoded);
No comments:
Post a Comment