摘要 |
Provided in an embodiment of the present invention are a network secure communication method and communication device, the method comprising: transmitting a handshake request packet to a service terminal, the handshake request packet carrying a first random number and a service request data encrypted via the first public key, such that the service terminal decrypts, according to a first private key corresponding to the first public key, the handshake request packet to obtain the first random number and the first service request data, and generates a first service answering data according to the first service request data; receiving a handshake answering packet fed back by the service terminal, the handshake answering packet carrying the first service answering data and a second random number encrypted via the first random number; decrypting the handshake answering packet via the first random number to obtain the first service answering data and the second random number; and calculating, via the first random number and the second random number, a conversation key utilized for a conversation with the service terminal. |