Patent ID: 8266440

Claim:
An information processing apparatus comprising: an acquisition unit configured to acquire authentication information of a user; a calculation unit configured to calculate a value from the acquired authentication information, using a first authentication algorithm based on a first one-way function or using a second authentication algorithm based on a second one-way function different from the first one-way function of the first authentication algorithm; a determination unit configured to determine whether, in a case where a first value is calculated using the first authentication algorithm, the calculated first value corresponds to a first stored value already stored in the information processing apparatus, and whether, in a case where a second value is calculated using the second authentication algorithm, the calculated second value corresponds to a second stored value already stored in the information processing apparatus; and an authentication unit configured to permit a login of the user in a case where it is determined by the determination unit that the calculated first value corresponds to the first stored value, deny a login of the user in a case where it is determined by the determination unit that the calculated first value does not correspond to the first stored value, permit a login of the user in a case where it is determined by the determination unit that the calculated second value corresponds to the second stored value, and deny a login of the user in a case where it is determined by the determination unit that the calculated second value does not correspond to the second stored value, wherein, in a case where it is determined by the determination unit that the calculated first value corresponds to the first stored value, the second value is calculated from the acquired authentication information, using the second authentication algorithm, and the calculated second value is stored in the information processing apparatus so that authentication using the second authentication algorithm is performed for any subsequent authentications by the user.