Perhaps your server will send a message to your application containing a random code. This message and code changes every time it is sent.
Then your application runs some kind of algorithm in this message to โencryptโ it and send it back to the server, and then the server can check it. Thus, there is nothing to intercept and use without knowing its "encryption".
Of course, they can intercept the message from each direction, and then develop their own algorithm, but if you make it complicated enough, it will be a little.
source share