public / private keys handshake