摘要 |
The invention relates to a method for ensuring data transmission security between a first (2) and a second communication device (3) in short-range wireless communication. To set up a secure data transmission connection, the communication devices (2, 3) conduct a key exchange stage to generate at least one shared key (K) between the communication devices. After said key exchange stage at least a first (c1) and a second check string (c2) is formed, said strings being based at least on a unique short random string and on the keys (K1, K2) generated in each communication device at said key exchange stage. Thus, the security of the connection that is set up is ensured by comparing the correspondence of said check strings (c1, c2). The invention also relates to a communication system and a communication device, in which the method will be applied. |