Ask the front-end H5, Mini Game and back-end data exchange security solution?

before Mini Game jumped out, many bosses cracked Mini Game data transmission, directly modifying scores, simulated clicks, and so on. I would like to ask what is a good method. When doing some clicks, how to prevent the front end from being cracked and falsified submitted data, such as jump, Mini Game, and so on.


verify beforehand and check afterwards. Server verification can put an end to some cheating, but real-time games are difficult to verify the data of all players on the server. For games like hopping, the server basically only keeps a ranking, and most of the anti-cheating has to be done on the client. In addition to code confusion, the transmission content can be encrypted, but this only increases the difficulty of cracking. Of course, you can also try to leave everything the client can do to the server, such as partial rendering, but this is too expensive. There is no way to completely put an end to cheating, so make your own choice.


can we encrypt and decrypt the transmission time code md5 or something?

Menu