Patent ID: 7673142

Claim:
A computer network, comprising: a client and a server connected by a network connection, wherein the client has a userid and a password associated with the client; wherein the client requests access to the server by sending a first set of values to the server, wherein the first set of values includes a client-generated random value, a large prime number, a primitive root of the large prime number, and the primitive root raised to a power of a large random integer less than the large prime number minus one; wherein the server responds to the client by generating a one-time challenge token that depends at least on a server-generated random value and sending the challenge token to the client, wherein the server generates the challenge token by exclusive-oring the server-generated random value with a first hash, and wherein the first hash is a hash of the primitive root of the large prime number raised to a power, a digest of the client's userid and password, and the client-generated random value; wherein the client retrieves the server-generated random value from the challenge token and sends the server-generated random value and the userid to the server; wherein the server verifies the received server-generated random value from the client is correct by comparing the server-generated random value received from the client with the server's stored value of the server-generated random number, and if so, the server generates a one-time authentication token and sends it to the client, giving it permission to access the server; wherein the client verifies the validity of the one-time authentication token received from the server; wherein if the client verifies that the one-time authentication token from the server is valid, the client changes the password by computing a hash of the userid and a new password to form a new digest, creating a mask, computing a message authentication code, and by exclusive-oring the mask with the new digest to form a result, and sending the result, the userid, and the message authentication code to the server; wherein the server retrieves the new digest by exclusive-oring the mask with the received result, and wherein the server verifies the received message authentication code; and wherein if the received message authentication code is verified, the server changes the client password by replacing a digest of at least the old password with a digest of at least the new password.