0

I'm currently writing a multiplayer game with network interactions (obviously). Is there a way to store some sort of encryption key within the executable so that I can signed any outgoing messages to the server such that the server knows the message is coming from the client code itself, not a cheater?

Sorry there's no code to go along with this question. I'm forging into unknown territory with this question in regards to my experience.

Ron Maupin
  • 6,180
  • 4
  • 29
  • 36
DonutGaz
  • 1,492
  • 2
  • 17
  • 24

1 Answers1

0

No. While it might be very difficult to do, it is possible to figure out your encryption method.

The potentially easiest way that they could get your encryption method is through decompiling your code, but this is much harder with some languages than others. Java and C# apparently can be decompiled to high-level readable code. This question covers that topic.

Community
  • 1
  • 1
schwissig
  • 51
  • 2
  • 5