Print when exchange ok
This commit is contained in:
		@@ -80,6 +80,8 @@ func handleConnection(conn net.Conn, privateKey *rsa.PrivateKey) {
 | 
				
			|||||||
    uid, _ := decryptKeyIV(uidData,privateKey)
 | 
					    uid, _ := decryptKeyIV(uidData,privateKey)
 | 
				
			||||||
    conn.Write([]byte("Received UID\n"))
 | 
					    conn.Write([]byte("Received UID\n"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    fmt.Println("Exchange, OK!")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    var ciphertext []byte
 | 
					    var ciphertext []byte
 | 
				
			||||||
    var chunk string
 | 
					    var chunk string
 | 
				
			||||||
    var plaintext []byte
 | 
					    var plaintext []byte
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user