Front and back end interaction, how is the data handled?

I think it is encryption first, compression, base64 conversion, I do not know whether it is correct, and what encryption algorithm is generally used for encryption

Mar.28,2021

data interaction. When you encrypt the front end, you need to decrypt the algorithm equivalent to encryption yourself. It is meaningless to encrypt it on the client side.
generally, only some sensitive information and data that need not be parsed at the front end are encrypted with token
ordinary data websites and https.


if you really want to send encrypted data, you use an one-way encryption algorithm like md5,sha. For example, the password of the user name is like this


go to the Internet to find an aes encryption library, and then agree on the encryption salt at the front and back end, and then carry out encrypted transmission.

Menu