A device and a method for inputting passwords in ATM or door-lock and etc,
having display means are provided. In particular, said device comprises a
keypad in display means where numbers or letters for passwords are
arranged randomly, and further comprises a keypad providing an indirect
password numbers or letters randomly arranged, according to an original
password, to be input in another indirect password keypad such that the
original password of a user can be protected effectively from the others
eye.