What is Challenge Handshake Authentication Protocol?
The Challenge Handshake Authentication Protocol (CHAP) is a process for authenticating a user to a network entity that is any server, e.g. B. the web or Internet service provider (ISP) can act.
CHAP is mainly used for security purposes. For example, users provide authenticated clear text passwords when accessing remote servers, which are also authenticated prior to user access.
Challenge Handshake Authentication Protocol ensures that the server sends a request to the client after the client establishes a network connection to access a web / ISP server. This challenge is received over the same network line. The client uses a hash function to calculate a certain value, which is then sent to the server and compares the incoming value with the calculated value of the server. If the values match, the client is given server access. Otherwise the connection will be terminated automatically.
Peers take over this procedure randomly and continuously send calculated values to an authenticating server, which in turn continuously authenticates peers based on calculated values.