Patent attributes
A method and system of authenticating a user are provided. A request for a resource is received from a user device. A predefined number is received. A first number and a second number are created. A first discrete logarithm based on the first number and the predefined number is determined and sent to the user device, together with the second number. A second discrete logarithm is received from the user device. A first pass code is calculated via a third discrete logarithm, based on the second discrete logarithm, the first number, and the predefined number. A second pass code is received via a fourth discrete logarithm, based on the first discrete logarithm, the third number, and the predefined number. Upon determining that the first pass code is identical to the second pass code, the user device is allowed to access a resource associated with the computing device.