take RSA as an example:
1. The server generates public and private key pairs, and the public key is sent to the client
2. The client uses the public key to encrypt the information, get the ciphertext S, and send it to the server
3. The server receives the ciphertext S, decrypts the information using the private key, and verifies whether the information is consistent
.all I can find is expressed like this:
because the private key is stored on the server, even if the ciphertext is intercepted, the information cannot be cracked
but I wonder a little bit. I intercepted the ciphertext. Why do you want to crack the ciphertext? can you directly find a way to send the ciphertext to the server, and then you can get the data returned by the server?