摘要 |
A method of communicating between a terminal (20) and a secure element (10) comprises determining a challenge and sending the challenge (122) to the terminal (20). The secure element receives a response (124, 126) from the terminal (20) comprising the challenge and personal identification number, PIN, data. The response is encrypted with a key. The secure element determines (132) if the challenge received in the response matches the challenge sent to the terminal (20). If the challenge received in the response does not match the challenge sent to the terminal (20), the secure element performs a computation (133) using the received challenge and the sent challenge. The secure element recovers a data element (136) carried by the response. The data element (136) is indicative of an action to be performed by the secure element. The data element can be an encrypted operation code. |