Question: what is the difference between private key and public key?
Answer: No. Private Key is used to both encrypt and decrypt the data and is shared between the sender and receiver of encrypted data. The public key is only used to encrypt data and to decrypt the data, the private key is used and is shared. ... The public key mechanism is called asymmetric being two keys for different purposes.