How do I encrypt the posts I send via Ajax? For example in the Telegram Web they do this, it is possible to see by the XHR with the requisitions sent and received.
Example of what it is like on the Telegram Web (I wish my application would look like this too):
Ps: I'm developing with Javascript and PHP.