After reading the encrypted login related content, there is indeed no certificate, not https login is not safe, and the POST value can be seen in all. I found some information about js encryption and php decryption, but it is still not very clear. The general idea is to send a request to the background through the front-end to obtain a secret... after reading the encrypted login related content, there is indeed no certificate, not https login is not safe, and the POST value can be seen in all.
I found some information about js encryption and php decryption, but it is still not very clear,
The general idea is to send a request to the background through the foreground to obtain a key, and then encrypt the key at the foreground and transmit it to the backend for decryption.
(Simple js encryption without a certificate)
Problem
1. Is there a security risk when the front-end requests a key from the backend, whether it is a cookie or a session?
2. There are indeed a lot of questions to ask, but I hope the gods can help me sort them out.
Http://skysbird.duichenmei.com /? P = 306 saw this code, and the idea was clearer.
I searched the two codes on the Internet.
------ Javascript