A
A
alkhadidzhaevich2014-07-10 19:46:31
PHP
alkhadidzhaevich, 2014-07-10 19:46:31

How to encrypt ajax?

Hello!
Tell me how to encrypt ajax requests using php + javascript?
Now ajax is implemented with jquery $.post.

We want to do encryption for anti-debugging purposes - it would be problematic to see in the inspector what data is running between the browser and the server.

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Push Pull, 2014-07-10
@alkhadidzhaevich

Anything on the client can be retrieved.
Everything that is encoded on the client can be decrypted, because where is the decryption key.
Everything that comes from the server to the client is decrypted there - well, you understand.
By operating on the data on the client, an experienced web developer will be able to understand what kind of data it is and where it goes.
All that can be done to make it more complicated is to encrypt, encode the sent data. This will slow down, but will not prevent data loss.
an example of a simple caesar encryption
there are many more, but think about it, is it worth bothering? Because there is no point.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question