Answer the question
In order to leave comments, you need to log in
How to encrypt response from get requests?
How to encrypt response from requests?
At the moment, if you get into the network, you can see the answer, there is all the data about the goods (price, category, etc.)
On another side in this form (photo)
Is it somehow parsed at the front and it turns out in a normal form?
Perhaps somehow it is possible, for example, to simply encrypt an object on the back, and decrypt it at the front?
Answer the question
In order to leave comments, you need to log in
You can encrypt responses with any cryptographic algorithm, such as AES
https://github.com/mwiesmueller/express-crypto
https://codeforgeek.com/encrypt-and-decrypt-data-i...
On the client, the response after receiving first decrypt and then use as usual in
JSON.parse and so on.
The usefulness of such encryption or additional. security tends to zero, since an attacker with 100% probability will be able to decrypt the answer, but in the network, of course, everything will come in encrypted form.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question