How does public-key cryptography differ from symmetric cryptography?
The question is about Cryptography
Answer:
Public-key cryptography uses a pair of keys (public and private) for encryption and decryption, providing secure communication without sharing private keys. Symmetric cryptography uses a single shared key for both encryption and decryption, requiring secure key exchange.