General reality, that is the simplest secret codes.
1. For tourists
So the system can also use this simple mechanism, the client and server are set to a sign, as long as the right on. That it is the qualifier.
Of course signal must be updated on the server and the client. Signal is generated generally take some time, it is generally signal ok, it produces a value, such as a session and the like. Directly to the next session. It is equivalent to the signal right. Posted a sign.
2, for registrants
This does not need to say, the above signal is a group of people, but to verify that the individual who must be the only signal that we username and password.
Verify generally take some time, it is generally verify ok, it produces a value, such as a session and the like. Directly to the next session. It is equivalent to the verification. Posted a sign.
The so-called symmetric encryption, there is a problem is that it is possible to transfer signal will not eavesdropping. That is, the key will be stolen.
So there are non duet encryption.
Both parties now have 2 key. It publishes the public key, so people can send a message to yourself. Save yourself the private key, so you do not need private transport to ensure safety.