Electronic password inputting method and device

The invention discloses an electronic password inputting method and device. According to the inputting method, a touch screen is used as an inputting medium, two-dimensional spatial positions of password characters are used as new password information to be added into password information which original character arrangement comprises, the number of the password characters is defined as n, the two-dimensional spatial positions of the ith character are defined as xi and yi, input passwords are changed from the original combination of the n characters into the combination of the n characters and the extra combination of 2n characters and the length of the passwords is increased to 3n. The inputting device is designed according to the inputting method. The inputting device comprises the touch screen, a supporting module and a power module which are connected in a contacting mode through wires or contact pins. The inputting device is characterized in that the whole plane of the touch screen is provided with two-dimensional spatial position information, and the two-dimensional spatial position information can be added in a hidden mode in the process of inputting the password information of the character arrangement through clicking.