Public-key cryptographyCryptography means, "secret writing"—the exchange of messages accessible only by the intended recipient. It is the science of hiding information.... Read More is an encryptionEncryption is the process of encoding an original form of information called plaintext using an algorithm called a cipher. The... Read More method employing two types of keys: a public keyA public key is a cryptographic key used to encrypt data. Any party can use a public key to encrypt... Read More and a private keyA private key is a cryptographic number that allows individuals to sign transactions and create new receiving addresses for their... Read More. Anyone with a public key can encrypt information. However, decryptionDecryption transforms ciphertext to reveal the original plaintext. Encryption is the reverse process to decryption. Read More requires the corresponding private key. A private key must remain secret to the keyholder to ensure data security and integrity remains intact.
See https://academy.binance.com/en/articles/what-is-public-key-cryptography [Biance]