Public vs private keys in cryptography
Question
What distinguishes a public key from a private key in cryptography?
Answer
A public key is shared openly and used for encrypting messages, while a private key is kept secret and used for decrypting those messages. Together, they enable secure communication in asymmetric encryption systems.