fix(crypto): remove client world cryptography encoding conversion that does not work correctly
1 files changed, 4 insertions(+), 2 deletions(-) M Core/NosSmooth.Cryptography/ClientWorldCryptography.cs
M Core/NosSmooth.Cryptography/ClientWorldCryptography.cs => Core/NosSmooth.Cryptography/ClientWorldCryptography.cs +4 -2
@@ 113,8 113,10 @@ public class ClientWorldCryptography : ICryptography } } byte[] tmp = Encoding.Convert(encoding, Encoding.UTF8, currentPacket.ToArray()); return Encoding.UTF8.GetString(tmp); return string.Concat(currentPacket.Cast<char>()); // byte[] tmp = Encoding.Convert(encoding, Encoding.UTF8, currentPacket.ToArray()); // return Encoding.UTF8.GetString(tmp); } /// <inheritdoc />