Home > Article > Backend Development > What method does js use to encrypt the data of ajax post and transmit it to php for decryption?
Since I don’t want to transmit plain text when doing ajax post, I want to use js to encrypt a js object into a string or binary string for transmission, but I don’t know how to encrypt it, and this encrypted string needs to be in php Decrypt it on the end, and the decrypted data is preferably a php array. Does anyone have such a need? Do you know how to achieve this?