摘要 |
Provided are a method, an apparatus, and a system for data transmission. The method comprises: a first terminal device receives a first hash function list sent by a second terminal device, determines a first hash function from the first hash function list, determines first fingerprint information corresponding to the first hash function, and sends the first hash function and the first fingerprint information to the second terminal device; the first terminal device sends a second hash function list to the second terminal device, and receives a second hash function determined from the second hash function list and second fingerprint information corresponding to the second hash function, the second hash function and the second fingerprint information being sent by the second terminal; and the first terminal device performs authentication processing with the second terminal device according to the first hash function, the first fingerprint information, the second hash function, and the second fingerprint information, to establish a DTLS protocol connection to transmit data, so that a security authentication mechanism in the DTLS protocol can be effectively used to improve security of data transmission, thereby improving transmission reliability and practicability. |