how can I encrypt and decrypt data between Reactjs and python mean need to encrypt data from Frontend(Reactjs) and need to decrypt data from the backend (Django python)
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (6)
Do you really need encryption? If you use HTTPS you already have encryption in the communication.
yeah I am using HTTPS but some key and its value is visible in preview of network tab
Clearly you have a misunderstanding on how HTTPS protocol works. It stops people wiretapping (ie: wireshark) your browser intercepts data pre packet encryption and transmission.
youtube.com/watch?v=T4Df5_cojAs
CryptoJS is JavaScript for client side encryption. Google it, plenty of tuts. Server description is easy, you can even use system
gpg
command if you are on Linux.Why not let Django Rest Framework do the hard job?
because I am sending data from frontend to the backend