1. A method for operating an electronic device having a keyboard, the method comprising: storing data related to at least one selected language used during password creation; selecting a character mapping based on the stored data related to the at least one selected language; applying the character mapping to the keyboard; and receiving a password using the character mapping.