Peer to peer (P2P) network secure communication method based on random handshake
A P2P network and secure communication technology, applied in the field of P2P network security communication based on random handshake, can solve the problem that the third party cannot effectively prevent malicious damage or tampering with communication data, and achieve the effect of reducing resource overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:
[0026] Assuming that the communication initiating node A in the P2P network wants to establish a connection and communicate with the communication responding node B, follow the steps below,
[0027] Step 1. A randomly selects the encryption algorithm (random encryption type) ret1, randomly generates the encryption key (random key) rk1 and random test text (random test text) rtt1, and uses the key rk1 to encrypt the random test text rtt1 to obtain Test ciphertext P1;
[0028] Step 2, A sends a test message containing the key rk1 and random test text rtt1 to B;
[0029] Step 3. After receiving the test message, B encrypts the random test text rtt1 with the key rk1 in the test message to generate the test ciphertext P2, and then sends the test ciphertext P2 to A;
[0030] Step 4. A matches the received test ciphertext P2 with the test ciphertext P1, that...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 