The Ultimate Guide to GPG Keys: Concepts, Applications, and Practical How-Tos
GPG uses public-key cryptography: a public key (shareable) encrypts data, while only the matching private key (kept secret) can decrypt it. It also enables digital signatures, letting recipients verify a message's authenticity and integrity using the sender's public key.