摘要 |
<p>Disclosed is a method for managing passwords for a user. A processor (111) of a device (110), which stores at least one received incorrect password proposal, receives an additional password proposal from a user through a user interface (113) (S10); generates a hash value for the additional password proposal (S11); transmits the hash value to an authentication server (120); and receives, from the authentication server (120), a message indicating whether the hash value corresponds to a correct password or an incorrect password. When the message indicates that the hash value corresponds to the correct password, the processor uses a distance function for each incorrect password proposal to obtain a distance value representing a distance between the incorrect password proposal and the correct password (S13); and transmits, to the authentication server (120), the hash values for the password proposals for which the distance value is smaller than a threshold. Also, the device (110) and a computer program medium (140) are provided. The present disclosure can provide resistance to typing errors in the password proposals.</p> |