What is a public key and a private key?
A public key and a private key are a pair of unique cryptographic keys. The public key is used for encrypting, and the private key is used for decrypting. Public keys can be shared with others, while private keys should be kept secret.