Hello,
I’m using an encryption algorithm (RC4) to send some data over the network.
The problem: when i encrypt my string (text one), with rc4 algorithm ,sometime i get the ‘\0’ character inside my string. Ex: (i will write this into hexa for easy reading) “77-EA-FC-FF-00-72-92-04” and now the unity c# string see only “77-EA-FC-FF” as a string, the 00 is considered as “null terminated string”. There are some method, a variable to store the whole original string into?
Note: In c# (MS one) the algorithm works just fine.
Thanks in advance.