The address is also the public key. The public key and the private key are a key pair obtained via a hash algorithm. The public key is the part exposed in the key pair and the private key is the non-public part. The public key is usually used to encrypt the session secret. Digital signature verification and data decryption can be performed with the corresponding private key.