Methods of performing operations on a processor of an electronic device include establishing a programmatic association in a one-to-one relationship between mathematical operators and directions of movement that a user can make when selecting number keys among an arrangement of number keys. A first number is received from a user selection of a first number key, and a second number is received from a user selection of a second number key. A first direction of user movement from the first number key to the second number key is determined, and a first mathematical operator is selected among the mathematical operators that is programmatically associated with the first direction. The first and second numbers are combined using the first mathematical operator to generate an output number, and the output number is provided to a secure program to control user access to a protected operation of the secure program.
展开▼