Abstract:
A method and an apparatus for key input by using a random number in a virtual keyboard in a portable terminal are provided. The method includes sending, to a server, a request for random number generation; receiving a random number generated in response to the request; displaying a virtual keyboard that activates keys corresponding to the received random number; and receiving, through the displayed virtual keyboard, an input of keys.