Patent ID: 8777100

Claim:
A method for inputting a password, wherein it comprises receiving, by a password inputting device, an instruction in accordance with ISO/IEC 7816 standard sent by an upper computer wherein the instruction comprises class field, parameter field and data field; and determining whether the instruction is a password checking instruction by a password inputting device; if it is not, sending the instruction to a smart card by the password inputting device; and if it is, receiving the password input by a user, enclosing the password input by the user to the password checking instruction by the password inputting device, sending the instruction to the smart card by the password inputting device, receiving the result of executing the password checking instruction from the smart card by the password inputting device, and sending the result to the upper computer by the password inputting device; wherein the step of enclosing the password input by the user to the password checking instruction comprises following sub-steps of deleting the parameters field and data field of the password checking instruction, adding the password input by the user to the data field of the password checking instruction, and renewing the parameters field of the password checking instruction as the parameters of the current instruction.