This invention is kind of method of dynamic password input and keyboard, can be used in the area of computer environment equipment. The method is: in the condition that when system asks for inputting the password and when system is asking for inputting the password, after a number inputted by the user, dynamically inputs the ten number of the keyboard, makes another random arrangement. It avoids the relation between the movement of the user's hands when inputs password and the password, thus avoids leaking of the password effectively. The keyboard includes: LCD, touch screen, drive chip, singlechip, debugging circuit, level transferring chip. The touch screen covers the LCD, links with drive chip by data line; the driver chip of the touch screen links with a bunch of singlechip, the singlechip links with level transferring chip with bunch, the TTL level signal outputted by singlechip conveys to LCD one way to screen after dealing by level transferring chip, the other way does data switching with hoet computer.