There is RFC 1994 with the description of the CHAP protocol, where it is stated about the calculation of the "expected value" on the authorizing server based on the data from the user's request. But in this RFC there is no description about the method of calculating it.
Hence the question: for the CHAP protocol, one or several methods of calculating the "expected value" are used, if one, which one?